summaryrefslogtreecommitdiff
path: root/packages/xorg-xserver/xserver-kdrive/w100-new-input-world-order.patch
diff options
context:
space:
mode:
authorPhilipp Zabel <philipp.zabel@gmail.com>2007-09-08 21:10:27 +0000
committerPhilipp Zabel <philipp.zabel@gmail.com>2007-09-08 21:10:27 +0000
commitd052d266644b8c23e966e8f3d3c761ff19877127 (patch)
tree534ca6ae5534bcf0fe327fdffe9a46ab3054f608 /packages/xorg-xserver/xserver-kdrive/w100-new-input-world-order.patch
parent062c44df0eb1877a9580ef5aa422c16ac188b171 (diff)
xserver-kdrive: patch shuffle and cleanup
* drop unused build-fix-panoramix, devfs and faster-rotated patches * move some version specific patches into xserver-kdrive-1.1.0 and move some 1.4 patches that also apply to git into unversioned xserver-kdrive
Diffstat (limited to 'packages/xorg-xserver/xserver-kdrive/w100-new-input-world-order.patch')
-rw-r--r--packages/xorg-xserver/xserver-kdrive/w100-new-input-world-order.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/packages/xorg-xserver/xserver-kdrive/w100-new-input-world-order.patch b/packages/xorg-xserver/xserver-kdrive/w100-new-input-world-order.patch
new file mode 100644
index 0000000000..239ae0bb67
--- /dev/null
+++ b/packages/xorg-xserver/xserver-kdrive/w100-new-input-world-order.patch
@@ -0,0 +1,28 @@
+Index: xorg-server-1.4/hw/kdrive/w100/ati_stub.c
+===================================================================
+--- xorg-server-1.4.orig/hw/kdrive/w100/ati_stub.c 2007-09-08 21:40:26.000000000 +0200
++++ xorg-server-1.4/hw/kdrive/w100/ati_stub.c 2007-09-08 22:04:27.000000000 +0200
+@@ -74,10 +74,20 @@
+ void
+ InitInput(int argc, char **argv)
+ {
+- KdInitInput(&LinuxMouseFuncs, &LinuxKeyboardFuncs);
+-#ifdef TOUCHSCREEN
+- KdAddMouseDriver(&TsFuncs);
++ KdKeyboardInfo *ki;
++
++ KdAddKeyboardDriver (&LinuxKeyboardDriver);
++ KdAddPointerDriver (&LinuxMouseDriver);
++ KdAddKeyboardDriver (&LinuxEvdevKeyboardDriver);
++ KdAddPointerDriver (&LinuxEvdevMouseDriver);
++#ifdef TSLIB
++ KdAddPointerDriver (&TsDriver);
+ #endif
++
++ ki = KdParseKeyboard ("keyboard");
++ KdAddKeyboard(ki);
++
++ KdInitInput ();
+ }
+
+ void