Bug fix #194: Fix assertion failure in some cases
Fix assertion failure when evaluating --unredir-if-possible-exclude or --paint-exclude on unmapped windows. Thanks to ppuryear for reporting. (#194)
This commit is contained in:
parent
ef58e4e417
commit
349af129b8
|
@ -2623,10 +2623,10 @@ win_on_factor_change(session_t *ps, win *w) {
|
|||
win_determine_blur_background(ps, w);
|
||||
if (ps->o.opacity_rules)
|
||||
win_update_opacity_rule(ps, w);
|
||||
if (ps->o.paint_blacklist)
|
||||
if (IsViewable == w->a.map_state && ps->o.paint_blacklist)
|
||||
w->paint_excluded = win_match(ps, w, ps->o.paint_blacklist,
|
||||
&w->cache_pblst);
|
||||
if (ps->o.unredir_if_possible_blacklist)
|
||||
if (IsViewable == w->a.map_state && ps->o.unredir_if_possible_blacklist)
|
||||
w->unredir_if_possible_excluded = win_match(ps, w,
|
||||
ps->o.unredir_if_possible_blacklist, &w->cache_uipblst);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue