From 4b2621aef206bc6bbde5ce50e6e3badd0edd3dec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tin=20=C5=A0vagelj?= Date: Thu, 4 Apr 2024 11:46:41 +0200 Subject: [PATCH] Handle external PropertyNotify events MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Tin Å vagelj --- src/display-x11.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/display-x11.cc b/src/display-x11.cc index b22d73cd0..7560ae7f0 100644 --- a/src/display-x11.cc +++ b/src/display-x11.cc @@ -440,7 +440,7 @@ bool display_output_x11::main_loop_wait(double t) { #endif /* BUILD_MOUSE_EVENTS && BUILD_XINPUT */ // Any of the remaining events apply to conky window - if (ev.xany.window != window.window) continue; + if (ev.xany.window != window.window && ev.type != PropertyNotify) continue; switch (ev.type) { case Expose: { XRectangle r;