[PATCH] Fix key repeat problem.
Kim Woelders
kim at woelders.dk
Sat Jul 11 09:55:17 PDT 2009
Signed-off-by: Kim Woelders <kim at woelders.dk>
---
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
------------ws7wg08XTuXL4WhHRzbSQl--
More information about the xorg-devel
mailing list