diff src/events.c @ 100:4be1180a9e89 r20-1b2

Import from CVS: tag r20-1b2
author cvs
date Mon, 13 Aug 2007 09:15:11 +0200
parents 131b0175ea99
children cca96a509cfe
line wrap: on
line diff
--- a/src/events.c	Mon Aug 13 09:13:58 2007 +0200
+++ b/src/events.c	Mon Aug 13 09:15:11 2007 +0200
@@ -38,6 +38,18 @@
 #include "redisplay.h"
 #include "window.h"
 
+#ifdef WINDOWSNT
+/* Hmm, under unix we want X modifiers, under NT we want X modifiers if
+   we are running X and Windows modifiers otherwise.
+   gak. This is a kludge until we support multiple native GUIs!
+*/
+#undef MOD_ALT
+#undef MOD_CONTROL
+#undef MOD_SHIFT
+#endif
+
+#include <events-mod.h>
+
 /* Where old events go when they are explicitly deallocated.
    The event chain here is cut loose before GC, so these will be freed
    eventually.