X11: Fix infinite loop from Expose events being returned

This commit is contained in:
Suyooo
2023-12-05 22:32:11 +01:00
committed by Brenden Matthews
parent 9ab5c1d099
commit aa6e61be2e

View File

@@ -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: {