From 726dcd9e4ebfb09c0685450dca6e9fae7e773814 Mon Sep 17 00:00:00 2001 From: Adam Tkac Date: Mon, 7 Apr 2008 10:20:02 -0400 Subject: Fix Xvfb input when building against current X sources. --- os/WaitFor.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'os') diff --git a/os/WaitFor.c b/os/WaitFor.c index 36e01ca38..da12976ca 100644 --- a/os/WaitFor.c +++ b/os/WaitFor.c @@ -332,13 +332,9 @@ WaitForSomething(int *pClientsReady) if (XFD_ANYSET (&devicesReadable) || XFD_ANYSET (&clientsReadable)) break; -#ifdef WIN32 - /* Windows keyboard and mouse events are added to the input queue - in Block- and WakupHandlers. There is no device to check if - data is ready. So check here if new input is available */ + /* check here for DDXes that queue events during Block/Wakeup */ if (*checkForInput[0] != *checkForInput[1]) return 0; -#endif } } -- cgit v1.2.3