diff options
author | Daniel Stone <daniel@fooishbar.org> | 2008-03-30 17:25:39 +0300 |
---|---|---|
committer | Daniel Stone <daniel@fooishbar.org> | 2009-01-22 15:08:55 +1100 |
commit | cf6a2fc2bd94b392cfea120444d5e032d26f1d37 (patch) | |
tree | 06a6bf2d1ed47f99e4810933c0d7c39a87703e0a /dix | |
parent | 6727ee94086d238f9f99379280d4e4827f388cce (diff) |
Input: Ignore modifiers in core input processing
Modifiers get cleared by the XKB code when we drop down into core input
processing, so just delete the dead code path to simplify things a bit.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'dix')
-rw-r--r-- | dix/events.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/dix/events.c b/dix/events.c index 3a40dcb52..5e8fc9b26 100644 --- a/dix/events.c +++ b/dix/events.c @@ -3663,7 +3663,6 @@ CoreProcessKeyboardEvent (xEvent *xE, DeviceIntPtr keybd, int count) { int key, bit; BYTE *kptr; - CARD8 modifiers; GrabPtr grab; GrabInfoPtr grabinfo; Bool deactivateGrab = FALSE; @@ -3694,7 +3693,6 @@ CoreProcessKeyboardEvent (xEvent *xE, DeviceIntPtr keybd, int count) key = xE->u.u.detail; kptr = &keyc->down[key >> 3]; bit = 1 << (key & 7); - modifiers = keyc->modifierMap[key]; switch (xE->u.u.type) { |