From aa6e61be2ecbc67ee3d97f6403e08723bf5f1b99 Mon Sep 17 00:00:00 2001 From: Suyooo Date: Tue, 5 Dec 2023 22:32:11 +0100 Subject: [PATCH] X11: Fix infinite loop from Expose events being returned --- src/display-x11.cc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/display-x11.cc b/src/display-x11.cc index 94b3be24..e792ba63 100644 --- a/src/display-x11.cc +++ b/src/display-x11.cc @@ -450,10 +450,7 @@ bool display_output_x11::main_loop_wait(double t) { XUnionRectWithRegion(&r, x11_stuff.region, x11_stuff.region); XSync(display, False); - // modify for propagation - ev.xexpose.x += window.x; - ev.xexpose.y += window.y; - break; + continue; } case PropertyNotify: {