forked from pyrite-dev/milsko
bugfix
This commit is contained in:
parent
363897df74
commit
0c8715ec9f
1 changed files with 1 additions and 1 deletions
|
|
@ -53,7 +53,7 @@ static void sync_move(MwLL handle, int x, int y) {
|
||||||
XSync(handle->x11.display, False);
|
XSync(handle->x11.display, False);
|
||||||
if(!XPending(handle->x11.display)) continue;
|
if(!XPending(handle->x11.display)) continue;
|
||||||
XNextEvent(handle->x11.display, &ev);
|
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;
|
break;
|
||||||
} else {
|
} else {
|
||||||
arrput(queue, ev);
|
arrput(queue, ev);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue