diff options
author | Adam Tkac <atkac@redhat.com> | 2008-04-07 10:20:02 -0400 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2008-04-07 10:34:18 -0400 |
commit | 85b855f26f1578d52e9ed1dd0e3a9a1340ef1a2d (patch) | |
tree | acce01690635518ff337757ded9c1bea8e642d6e | |
parent | fe87d921da97f498e860270e2eeb73a860f19989 (diff) |
Fix Xvfb input when building against current X sources.
(cherry picked from commit 726dcd9e4ebfb09c0685450dca6e9fae7e773814)
-rw-r--r-- | os/WaitFor.c | 6 |
1 files changed, 1 insertions, 5 deletions
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 } } |