diff options
author | Ethan Marshall <ethan@ethanjmarshall.co.uk> | 2021-12-05 16:55:06 +0000 |
---|---|---|
committer | Ethan Marshall <ethan@ethanjmarshall.co.uk> | 2021-12-05 16:55:06 +0000 |
commit | 125a12548fec6560579a9586178804ba0cfad2f0 (patch) | |
tree | 4dfd0b6d451da3d7af33c9cfb3fdc7e74f325b4a /dwm.c | |
parent | 80109dbd85342d2764d8a0d18fb32b79aebc9966 (diff) |
Initial fix for sticky switching
Diffstat (limited to 'dwm.c')
-rw-r--r-- | dwm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -952,7 +952,7 @@ void focus(Client *c) { if (!c || !ISVISIBLE(c)) - for (c = selmon->stack; c && !ISVISIBLE(c); c = c->snext); + for (c = selmon->stack; c && (!ISVISIBLE(c) || c->issticky); c = c->snext); if (selmon->sel && selmon->sel != c) unfocus(selmon->sel, 0); if (c) { |