diff options
author | Fernando Carrijo <fcarrijo@yahoo.com.br> | 2008-11-10 13:23:45 -0500 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2008-11-10 13:23:45 -0500 |
commit | 31005efb1bb6be5a892ff905f754109dc3fa8fe6 (patch) | |
tree | 6532d77a4fe813f8253a734d1a542dd7bae00379 /dix | |
parent | 24383056d0513cc588cee5cee78f1cba2c0fbe89 (diff) |
input: Remove useless conditional.
Diffstat (limited to 'dix')
-rw-r--r-- | dix/events.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/dix/events.c b/dix/events.c index 632c0f450..7ec5355c1 100644 --- a/dix/events.c +++ b/dix/events.c @@ -3762,11 +3762,7 @@ ProcessKeyboardEvent (xEvent *xE, DeviceIntPtr keybd, int count) Bool deactivateGrab = FALSE; KeyClassPtr keyc = keybd->key; - if (xE->u.u.type & EXTENSION_EVENT_BASE) - grabinfo = &keybd->deviceGrab; - else - grabinfo = &keybd->deviceGrab; - + grabinfo = &keybd->deviceGrab; grab = grabinfo->grab; if (!syncEvents.playingEvents) |