aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSascha Hlusiak <saschahlusiak@arcor.de>2008-04-01 17:24:13 +0200
committerSascha Hlusiak <saschahlusiak@arcor.de>2008-04-01 17:24:13 +0200
commit1b9deb8e7e50a905f94a371ab0aa39e09a703052 (patch)
tree2c36210b6c8f21e6dab7514d85cfb35c02aa7549
parentKeyboard: Don't allow arbitrary keymap settings (diff)
downloadxf86-input-evdev-1b9deb8e7e50a905f94a371ab0aa39e09a703052.tar.gz
xf86-input-evdev-1b9deb8e7e50a905f94a371ab0aa39e09a703052.tar.bz2
xf86-input-evdev-1b9deb8e7e50a905f94a371ab0aa39e09a703052.zip
Add XK_Meta_L and XK_Meta_R to list of modifiers
Stopps meta/super key from autorepeating
-rw-r--r--src/evdev.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/evdev.c b/src/evdev.c
index 054e87e..f2ecdd2 100644
--- a/src/evdev.c
+++ b/src/evdev.c
@@ -644,6 +644,8 @@ EvdevAddKeyClass(DeviceIntPtr device)
{ XK_Caps_Lock, LockMask },
{ XK_Alt_L, AltMask },
{ XK_Alt_R, AltMask },
+ { XK_Meta_L, Mod4Mask },
+ { XK_Meta_R, Mod4Mask },
{ XK_Num_Lock, NumLockMask },
{ XK_Scroll_Lock, ScrollLockMask },
{ XK_Mode_switch, AltLangMask }