open-src/xserver/xorg/xephyr.patch
changeset 606 068c11b419c9
parent 605 e5259db5befc
child 607 261c0d718d67
--- a/open-src/xserver/xorg/xephyr.patch	Sat Jan 10 10:35:32 2009 -0800
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,69 +0,0 @@
---- xorg-server-1.2.0/hw/kdrive/ephyr/hostx.c~	2007-01-22 21:39:15.000000000 -0800
-+++ xorg-server-1.2.0/hw/kdrive/ephyr/hostx.c	2007-02-02 16:03:09.840426000 -0800
-@@ -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;
-
-
-Backport to 7.2 of commit 47c1c948e69cfba950ad37a3133fa2db0bd0ff2c
-Original Author: Daniel Stone <[email protected]>
-Date:   Tue Aug 15 15:25:16 2006 +0300
-
-    kdrive/input: only run special key behaviours on non-XKB
-    Only attempt to manually deal with special key behaviours (e.g. terminating
-    the server) when not using XKB, and leave locking behaviour up to GKVE.
-
---- xorg-server-1.2.0/hw/kdrive/src/kinput.c	2007-01-22 21:39:15.000000000 -0800
-+++ xorg-server-1.2.0/hw/kdrive/src/kinput.c	2007-04-09 18:58:43.562841000 -0700
-@@ -616,15 +616,6 @@
-     RegisterKeyboardDevice(pKeyboard);
-     miRegisterPointerDevice(screenInfo.screens[0], pPointer);
-     mieqInit(&pKeyboard->public, &pPointer->public);
--#ifdef XINPUT
--    {
--	static long zero1, zero2;
--
--	//SetExtInputCheck (&zero1, &zero2);
--	ErrorF("Extended Input Devices not yet supported. Impelement it at line %d in %s\n",
--	       __LINE__, __FILE__);
--    }
--#endif
- }
- 
- /*
-@@ -1303,20 +1294,6 @@
- 	    xE.u.u.type = KeyPress;
- 	xE.u.u.detail = key_code;
- 	
--	switch (KEYCOL1(key_code)) 
--	{
--	case XK_Num_Lock:
--	case XK_Scroll_Lock:
--	case XK_Shift_Lock:
--	case XK_Caps_Lock:
--	    if (xE.u.u.type == KeyRelease)
--		return;
--	    if (IsKeyDown (key_code))
--		xE.u.u.type = KeyRelease;
--	    else
--		xE.u.u.type = KeyPress;
--	}
--	
- 	/*
- 	 * Check pressed keys which are already down
- 	 */