From 5d7ff7101e48521f7c2ccb11d7e7cce3a979cb40 Mon Sep 17 00:00:00 2001 From: Yuxuan Shui Date: Thu, 12 Mar 2020 18:18:26 +0000 Subject: [PATCH] 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 --- src/picom.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/picom.c b/src/picom.c index f889adf..5f17cb7 100644 --- a/src/picom.c +++ b/src/picom.c @@ -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