summaryrefslogtreecommitdiffhomepage
path: root/patch/bar_flexwintitle.c
diff options
context:
space:
mode:
authorbakkeby <[email protected]>2020-11-22 12:52:02 +0100
committerbakkeby <[email protected]>2020-11-22 12:52:02 +0100
commite350e4d93d404fe5be9aca5dbbbd50b0c3ad4860 (patch)
treef8516ab6a05081dfba3660a6da9f5fe21c16ba64 /patch/bar_flexwintitle.c
parent7db8bb0ce93bfc3a6109b047764266f1865ec934 (diff)
downloaddwm-flexipatch-e350e4d93d404fe5be9aca5dbbbd50b0c3ad4860.tar.gz
dwm-flexipatch-e350e4d93d404fe5be9aca5dbbbd50b0c3ad4860.zip
NetActiveWindow: make sure to unfocus previously selected window if moving to another monitor
Diffstat (limited to 'patch/bar_flexwintitle.c')
-rw-r--r--patch/bar_flexwintitle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/patch/bar_flexwintitle.c b/patch/bar_flexwintitle.c
index 384878d..f7da241 100644
--- a/patch/bar_flexwintitle.c
+++ b/patch/bar_flexwintitle.c
@@ -172,7 +172,7 @@ flextitledraw(Monitor *m, Client *c, int unused, int x, int w, int tabscheme, Ar
return;
int i, nclienttags = 0, nviewtags = 0, pad = lrpad / 2;
int clientscheme = (
- c == m->sel
+ c == selmon->sel
? getselschemefor(tabscheme)
: HIDDEN(c)
? SchemeHid