This commit is contained in:
Nishi 2025-12-12 17:26:57 +09:00
commit 0c8715ec9f
Signed by: nishi
GPG key ID: 27EF69B208EB9343

View file

@ -53,7 +53,7 @@ static void sync_move(MwLL handle, int x, int y) {
XSync(handle->x11.display, False);
if(!XPending(handle->x11.display)) continue;
XNextEvent(handle->x11.display, &ev);
if(ev.type == ReparentNotify && ev.xreparent.window == handle->x11.window && ev.xreparent.window != RootWindow(handle->x11.display, DefaultScreen(handle->x11.display))) {
if(ev.type == ReparentNotify && ev.xreparent.window == handle->x11.window) {
break;
} else {
arrput(queue, ev);