From 5a22fb08284aca06e0669423e1024d8f1db2688c Mon Sep 17 00:00:00 2001 From: Yuxuan Shui Date: Tue, 31 Mar 2020 04:55:50 +0100 Subject: [PATCH] core: mark updates pending when a root flag is set To make sure handle_root_flags will be called. Signed-off-by: Yuxuan Shui --- src/picom.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/picom.c b/src/picom.c index 6bca745..008a99b 100644 --- a/src/picom.c +++ b/src/picom.c @@ -99,6 +99,7 @@ session_t *ps_g = NULL; void set_root_flags(session_t *ps, uint64_t flags) { ps->root_flags |= flags; + ps->pending_updates = true; } void quit(session_t *ps) {