diff options
author | Alexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de> | 2004-11-15 15:06:51 +0000 |
---|---|---|
committer | Alexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de> | 2004-11-15 15:06:51 +0000 |
commit | 9826b83826190e514ed115e15691ca015780f9bc (patch) | |
tree | e6ede7a76c2edc14ff3025fbc0fb65757327cde0 /hw/xwin/InitInput.c | |
parent | cecb668149e1956fb29bc89855182349122e2f4e (diff) |
Bufzilla #1802, http://freedesktop.org/bugzilla/show_bug.cgi?id=1802 Added
mingw (Win32) port
Diffstat (limited to 'hw/xwin/InitInput.c')
-rw-r--r-- | hw/xwin/InitInput.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/hw/xwin/InitInput.c b/hw/xwin/InitInput.c index 6219fa2b9..e2277e45f 100644 --- a/hw/xwin/InitInput.c +++ b/hw/xwin/InitInput.c @@ -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"); |