picom: win::flags are properly updated in old backends too
Don't set win::flags to 0 in paint_preprocess, as that can break assertions in other places. And there is also no need to do so as win::flags are properly tracked regardless of the backend used. Fixes #270 Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
parent
93f89b8603
commit
5d7ff7101e
|
@ -500,11 +500,6 @@ static struct managed_win *paint_preprocess(session_t *ps, bool *fade_running) {
|
|||
rc_region_unref(&w->reg_ignore);
|
||||
}
|
||||
|
||||
// Clear flags if we are not using experimental backends
|
||||
if (!ps->o.experimental_backends) {
|
||||
w->flags = 0;
|
||||
}
|
||||
|
||||
// log_trace("%d %d %s", w->a.map_state, w->ever_damaged, w->name);
|
||||
|
||||
// Give up if it's not damaged or invisible, or it's unmapped and its
|
||||
|
|
Loading…
Reference in New Issue