diff options
author | Richard Grenville <pyxlcy@gmail.com> | 2014-04-21 07:49:29 +0800 |
---|---|---|
committer | Richard Grenville <pyxlcy@gmail.com> | 2014-04-21 07:49:29 +0800 |
commit | 6a5738080a69b6978c81a257c4784ab67ce8de92 (patch) | |
tree | 64f2d0c5e61fa9943e7d930dc8c2477ec8bac662 | |
parent | 5794e0988f13a75e15812930f70795c5f38449e0 (diff) | |
download | tdebase-6a5738080a69b6978c81a257c4784ab67ce8de92.tar.gz tdebase-6a5738080a69b6978c81a257c4784ab67ce8de92.zip |
Misc: Fix a possible assert() failure
-rw-r--r-- | compton.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3401,7 +3401,7 @@ win_update_focused(session_t *ps, win *w) { || (ps->o.mark_wmwin_focused && w->wmwin) || (ps->o.mark_ovredir_focused && 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; // If window grouping detection is enabled, mark the window active if |