XSync can and often does cause events e.g. input events to be dropped, don't do it.
This commit is contained in:
@@ -65,9 +65,6 @@ static bool pApplyMasks()
|
|||||||
|
|
||||||
if(XSelectInput(X11Helper::Dpy, X11Helper::Win, finalMask) == 0) { return false; }
|
if(XSelectInput(X11Helper::Dpy, X11Helper::Win, finalMask) == 0) { return false; }
|
||||||
|
|
||||||
// Sync, so that the event mask applies now.
|
|
||||||
XSync(X11Helper::Dpy, False);
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user