mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-05 02:58:06 +02:00
Fix Xvfb input when building against current X sources.
(cherry picked from commit 726dcd9e4e)
This commit is contained in:
parent
fe87d921da
commit
85b855f26f
1 changed files with 1 additions and 5 deletions
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue