From 2a988ed75b7634d7cb6e83bb7aa89bc8768d3a58 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Tue, 15 Jan 2008 19:14:46 +1030 Subject: xkb: don't do core key repeats, XI only is the path to light. --- xkb/xkbAccessX.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'xkb/xkbAccessX.c') 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; } -- cgit v1.2.3