1
0
xorg-x11-server/xephyr-sig11-fix.diff

21 lines
656 B
Diff

--- hw/kdrive/ephyr/hostx.c.orig 2007-07-20 00:12:36.000000000 +0200
+++ hw/kdrive/ephyr/hostx.c 2007-07-20 00:16:17.020852526 +0200
@@ -40,6 +40,7 @@
#include <X11/Xatom.h>
#include <X11/keysym.h>
#include <X11/extensions/XShm.h>
+#include <X11/Xmd.h>
/*
* All xlib calls go here, which gets built as its own .a .
@@ -79,7 +80,8 @@
extern KeySym EphyrKeymap[];
-extern KeySym kdKeymap[];
+extern CARD32 kdKeymap[]; /* really KeySym, but Xlib & Xserver
+ use different sizes for that */
extern int kdMinScanCode;
extern int kdMaxScanCode;
extern int kdMinKeyCode;