From ef9f09b68ab08de1e470c573d4dfa02522a37f63 Mon Sep 17 00:00:00 2001 From: Yuxuan Shui Date: Sat, 5 Dec 2020 11:04:55 +0000 Subject: [PATCH] core: don't add damage in handle_new_windows Since commit 95a64acf5a03c7c22a42d40ebcafff33e924792a, fill_win doesn't set the window geometry anymore, so we can't use it in handle_new_windows. However, we don't need to add damage in handle_new_windows anyway, damage will be added later when the MAPPED flag is handled. Signed-off-by: Yuxuan Shui --- src/picom.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/picom.c b/src/picom.c index d2a7820..62e59a4 100644 --- a/src/picom.c +++ b/src/picom.c @@ -1386,7 +1386,6 @@ static void handle_new_windows(session_t *ps) { // and created the damage handle. And there is no way for // us to find out. So just blindly mark it damaged mw->ever_damaged = true; - add_damage_from_win(ps, mw); } } }