Fix Xvfb input when building against current X sources.

This commit is contained in:
Adam Tkac 2008-04-07 10:20:02 -04:00 committed by Adam Jackson
parent 0f87b41a43
commit 726dcd9e4e

View File

@ -332,13 +332,9 @@ WaitForSomething(int *pClientsReady)
if (XFD_ANYSET (&devicesReadable) || XFD_ANYSET (&clientsReadable)) if (XFD_ANYSET (&devicesReadable) || XFD_ANYSET (&clientsReadable))
break; break;
#ifdef WIN32 /* check here for DDXes that queue events during Block/Wakeup */
/* 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 */
if (*checkForInput[0] != *checkForInput[1]) if (*checkForInput[0] != *checkForInput[1])
return 0; return 0;
#endif
} }
} }