summaryrefslogtreecommitdiff
path: root/xkb/xkbAccessX.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter@cs.unisa.edu.au>2008-01-15 19:14:46 +1030
committerPeter Hutterer <peter@cs.unisa.edu.au>2008-01-15 19:14:46 +1030
commit2a988ed75b7634d7cb6e83bb7aa89bc8768d3a58 (patch)
tree5ff620d1668b08d3acc90d45df8aa603b8c54e71 /xkb/xkbAccessX.c
parent4fd0885978be286a68b689824f1d910f929a52b0 (diff)
xkb: don't do core key repeats, XI only is the path to light.
Diffstat (limited to 'xkb/xkbAccessX.c')
-rw-r--r--xkb/xkbAccessX.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/xkb/xkbAccessX.c b/xkb/xkbAccessX.c
index a035d8d32..975b2eb5f 100644
--- a/xkb/xkbAccessX.c
+++ b/xkb/xkbAccessX.c
@@ -318,9 +318,8 @@ BOOL is_core;
is_core = (dev == inputInfo.keyboard);
key = xkbi->repeatKey;
- AccessXKeyboardEvent(dev, is_core ? KeyRelease : DeviceKeyRelease, key,
- True);
- AccessXKeyboardEvent(dev, is_core ? KeyPress : DeviceKeyPress, key, True);
+ AccessXKeyboardEvent(dev, DeviceKeyRelease, key, True);
+ AccessXKeyboardEvent(dev, DeviceKeyPress, key, True);
return xkbi->desc->ctrls->repeat_interval;
}