NetActiveWindow: make sure to unfocus previously selected window if moving to another monitor

This commit is contained in:
bakkeby
2020-11-22 12:52:02 +01:00
parent 7db8bb0ce9
commit e350e4d93d
2 changed files with 5 additions and 4 deletions

View File

@ -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