summaryrefslogtreecommitdiff
path: root/packages/xserver-common/files/kdrive-1.4-fixes-fix.patch
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-06-07 10:32:58 +0000
committerKoen Kooi <koen@openembedded.org>2008-06-07 10:32:58 +0000
commit3596eaa64f0fb0508bac711f6a45b6e77a120192 (patch)
treeba422990bfd88b59d1ea9b4a0141bb1412a43835 /packages/xserver-common/files/kdrive-1.4-fixes-fix.patch
parentd439745715885d3267b2595a1a0ea94507056d20 (diff)
xserver-common: move fallback keymap into case statement
Diffstat (limited to 'packages/xserver-common/files/kdrive-1.4-fixes-fix.patch')
-rw-r--r--packages/xserver-common/files/kdrive-1.4-fixes-fix.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/packages/xserver-common/files/kdrive-1.4-fixes-fix.patch b/packages/xserver-common/files/kdrive-1.4-fixes-fix.patch
new file mode 100644
index 0000000000..14b77e20e9
--- /dev/null
+++ b/packages/xserver-common/files/kdrive-1.4-fixes-fix.patch
@@ -0,0 +1,22 @@
+--- /tmp/12keymap 2008-06-07 12:24:24.425525517 +0200
++++ xserver-common-1.22/X11/Xinit.d/12keymap 2008-06-07 12:27:35.152175933 +0200
+@@ -2,9 +2,6 @@
+
+ MACHINE=`awk 'BEGIN { FS=": " } /Hardware/ { print $2 } ' </proc/cpuinfo`
+
+-# since kdrive 1.4 there is no default keymap in server
+-xmodmap - </etc/X11/default.xmodmap
+-
+ case $MACHINE in
+ "SHARP Shepherd" | "SHARP Husky" | "SHARP Corgi")
+ xmodmap - < /etc/X11/shepherd.xmodmap
+@@ -28,5 +25,9 @@
+ "Simpad" | "HP iPAQ"* | "Asus MyPal"*)
+ xmodmap - < /etc/X11/keyboardless.xmodmap
+ ;;
++ *)
++ # since kdrive 1.4 there is no default keymap in server
++ xmodmap - </etc/X11/default.xmodmap
++ ;;
+ esac
+