mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-18 19:52:21 +00:00
Bufzilla #1802, http://freedesktop.org/bugzilla/show_bug.cgi?id=1802 Added
mingw (Win32) port
This commit is contained in:
parent
cecb668149
commit
9826b83826
40 changed files with 642 additions and 186 deletions
|
|
@ -57,7 +57,9 @@ CARD32 g_c32LastInputEventTime = 0;
|
|||
* References to external symbols
|
||||
*/
|
||||
|
||||
#ifdef HAS_DEVWINDOWS
|
||||
extern int g_fdMessageQueue;
|
||||
#endif
|
||||
extern Bool g_fXdmcpEnabled;
|
||||
#ifdef XWIN_CLIPBOARD
|
||||
extern winDispatchProcPtr winProcEstablishConnectionOrig;
|
||||
|
|
@ -150,6 +152,7 @@ InitInput (int argc, char *argv[])
|
|||
/* Initialize the mode key states */
|
||||
winInitializeModeKeyStates ();
|
||||
|
||||
#ifdef HAS_DEVWINDOWS
|
||||
/* Only open the windows message queue device once */
|
||||
if (g_fdMessageQueue == WIN_FD_INVALID)
|
||||
{
|
||||
|
|
@ -165,6 +168,7 @@ InitInput (int argc, char *argv[])
|
|||
/* Add the message queue as a device to wait for in WaitForSomething */
|
||||
AddEnabledDevice (g_fdMessageQueue);
|
||||
}
|
||||
#endif
|
||||
|
||||
#if CYGDEBUG
|
||||
winDebug ("InitInput - returning\n");
|
||||
|
|
|
|||
Loading…
Reference in a new issue