Misc: Fix a possible assert() failure
This commit is contained in:
parent
b7b043c3cc
commit
15cd6aad38
|
@ -3401,7 +3401,7 @@ win_update_focused(session_t *ps, win *w) {
|
||||||
|| (ps->o.mark_wmwin_focused && w->wmwin)
|
|| (ps->o.mark_wmwin_focused && w->wmwin)
|
||||||
|| (ps->o.mark_ovredir_focused
|
|| (ps->o.mark_ovredir_focused
|
||||||
&& w->id == w->client_win && !w->wmwin)
|
&& w->id == w->client_win && !w->wmwin)
|
||||||
|| win_match(ps, w, ps->o.focus_blacklist, &w->cache_fcblst))
|
|| (IsViewable == w->a.map_state && win_match(ps, w, ps->o.focus_blacklist, &w->cache_fcblst)))
|
||||||
w->focused = true;
|
w->focused = true;
|
||||||
|
|
||||||
// If window grouping detection is enabled, mark the window active if
|
// If window grouping detection is enabled, mark the window active if
|
||||||
|
|
Loading…
Reference in New Issue