#ifndef _DUMMY_XLIBH_
#define _DUMMY_XLIBH_
-#ifdef __GNUG__
- #pragma interface "Xlib.h"
-#endif
-
/* Move away the typedef in XtoNX.h */
#define XFontStruct XFontStruct1
#include <XtoNX.h>
#define KeymapStateMask 0
#define StructureNotifyMask GR_EVENT_MASK_UPDATE
+#ifdef ConfigureNotify
+/* XtoNX.h gets it wrong */
+#undef ConfigureNotify
+#endif
+#define ConfigureNotify GR_EVENT_TYPE_UPDATE
+
#ifndef FocusIn
#define FocusIn GR_EVENT_TYPE_FOCUS_IN
#define FocusOut GR_EVENT_TYPE_FOCUS_OUT