From d0ee47fd2382245a96e53f38fc717a2e92aa6adf Mon Sep 17 00:00:00 2001 From: Yuxuan Shui Date: Fri, 21 Jun 2024 09:57:04 +0100 Subject: [PATCH] event: ignore configure events for the overlay window Signed-off-by: Yuxuan Shui --- src/event.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/event.c b/src/event.c index 5858e2d3d9..b55f7a1e2d 100644 --- a/src/event.c +++ b/src/event.c @@ -279,6 +279,11 @@ static void configure_win(session_t *ps, xcb_configure_notify_event_t *ce) { static inline void ev_configure_notify(session_t *ps, xcb_configure_notify_event_t *ev) { log_debug("{ event: %#010x, id: %#010x, above: %#010x, override_redirect: %d }", ev->event, ev->window, ev->above_sibling, ev->override_redirect); + + if (ps->overlay && ev->window == ps->overlay) { + return; + } + if (ev->window == ps->c.screen_info->root) { set_root_flags(ps, ROOT_FLAGS_CONFIGURED); } else if (!wm_is_wid_masked(ps->wm, ev->event)) {