From 96d6cdd9cc157dbe8465c6775383252e0a90537f Mon Sep 17 00:00:00 2001 From: Ben Anderson Date: Thu, 17 Mar 2005 02:12:57 +0000 Subject: [PATCH] XSync can and often does cause events e.g. input events to be dropped, don't do it. --- stepmania/src/archutils/Unix/X11Helper.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/stepmania/src/archutils/Unix/X11Helper.cpp b/stepmania/src/archutils/Unix/X11Helper.cpp index 7a3730002b..3830a47e32 100644 --- a/stepmania/src/archutils/Unix/X11Helper.cpp +++ b/stepmania/src/archutils/Unix/X11Helper.cpp @@ -65,9 +65,6 @@ static bool pApplyMasks() if(XSelectInput(X11Helper::Dpy, X11Helper::Win, finalMask) == 0) { return false; } - // Sync, so that the event mask applies now. - XSync(X11Helper::Dpy, False); - return true; }