diff options
author | Peter Hutterer <peter@cs.unisa.edu.au> | 2008-06-22 22:34:30 +0930 |
---|---|---|
committer | Peter Hutterer <peter@cs.unisa.edu.au> | 2008-06-25 09:59:46 +0930 |
commit | bcc88a1d46c7ba469c4e2861875f84f8c77d4b15 (patch) | |
tree | 62909c668004354a152b957f5398f65c736f7b98 /xkb/xkbAccessX.c | |
parent | 9ed9d98dec58d1f7468d02c4b951811b8e1ca7c1 (diff) |
xkb: remove unused variable is_core.
Diffstat (limited to 'xkb/xkbAccessX.c')
-rw-r--r-- | xkb/xkbAccessX.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xkb/xkbAccessX.c b/xkb/xkbAccessX.c index 28107d05d..d3b585a70 100644 --- a/xkb/xkbAccessX.c +++ b/xkb/xkbAccessX.c @@ -309,15 +309,14 @@ AccessXRepeatKeyExpire(OsTimerPtr timer,CARD32 now,pointer arg) DeviceIntPtr dev = (DeviceIntPtr) arg; XkbSrvInfoPtr xkbi = dev->key->xkbInfo; KeyCode key; -BOOL is_core; if (xkbi->repeatKey == 0) return 0; - is_core = (dev == inputInfo.keyboard); key = xkbi->repeatKey; AccessXKeyboardEvent(dev, DeviceKeyRelease, key, True); AccessXKeyboardEvent(dev, DeviceKeyPress, key, True); + return xkbi->desc->ctrls->repeat_interval; } |