Mercurial > hg > xemacs-beta
diff src/msw-proc.c @ 245:51092a27c943 r20-5b21
Import from CVS: tag r20-5b21
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:17:54 +0200 |
parents | 41f2f0e326e9 |
children |
line wrap: on
line diff
--- a/src/msw-proc.c Mon Aug 13 10:17:09 2007 +0200 +++ b/src/msw-proc.c Mon Aug 13 10:17:54 2007 +0200 @@ -62,6 +62,7 @@ static Lisp_Object mswindows_find_console (HWND hwnd); static Lisp_Object mswindows_key_to_emacs_keysym(int mswindows_key, int mods); static int mswindows_modifier_state (BYTE* keymap, int has_AltGr); +#if 0 /* NOTUSED */ static int mswindows_enqueue_timeout (int milliseconds); static void mswindows_dequeue_timeout (int interval_id); @@ -75,7 +76,9 @@ typedef struct mswindows_timeout mswindows_timeout; static mswindows_timeout timeout_pool[MSW_TIMEOUT_MAX]; static mswindows_timeout *timeout_head = NULL; + static int timeout_mswindows_id; +#endif /*----------------------------------------------------------------------------*/ /* Enqueue helpers */ @@ -247,7 +250,7 @@ { int quit_ch = CONSOLE_QUIT_CHAR (XCONSOLE (mswindows_find_console (hwnd))); BYTE keymap_orig[256]; - MSG msg = { hwnd, message, wParam, lParam, GetMessageTime(), GetMessagePos() }; + MSG msg = { hwnd, message, wParam, lParam, GetMessageTime(), (GetMessagePos()) }; memcpy (keymap_orig, keymap, 256); /* Clear control and alt modifiers out of the keymap */