mingw (Win32) port
This commit is contained in:
Alexander Gottwald 2004-11-15 15:06:51 +00:00
commit 9826b83826
40 changed files with 642 additions and 186 deletions

View file

@ -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");