From 35dcb78d84261efb591cccef5271f424bea0cf7e Mon Sep 17 00:00:00 2001 From: Kim Woelders Date: Sat, 11 Jul 2009 18:55:17 +0200 Subject: [PATCH] Fix key repeat problem. Signed-off-by: Kim Woelders --- dix/events.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dix/events.c b/dix/events.c index f15c460..5388a16 100644 --- a/dix/events.c +++ b/dix/events.c @@ -1161,7 +1161,7 @@ EnqueueEvent(xEvent *xE, DeviceIntPtr device, int count) #ifdef XKB /* Fix for key repeating bug. */ if (device->key != NULL && device->key->xkbInfo != NULL && - xE->u.u.type == KeyRelease) + (xE->u.u.type == KeyRelease || xE->u.u.type == DeviceKeyRelease)) AccessXCancelRepeatKey(device->key->xkbInfo, xE->u.u.detail); #endif -- 1.6.3.3