summaryrefslogtreecommitdiff
path: root/dix
diff options
context:
space:
mode:
authorFernando Carrijo <fcarrijo@yahoo.com.br>2008-11-10 13:23:45 -0500
committerAdam Jackson <ajax@redhat.com>2008-11-10 13:23:45 -0500
commit31005efb1bb6be5a892ff905f754109dc3fa8fe6 (patch)
tree6532d77a4fe813f8253a734d1a542dd7bae00379 /dix
parent24383056d0513cc588cee5cee78f1cba2c0fbe89 (diff)
input: Remove useless conditional.
Diffstat (limited to 'dix')
-rw-r--r--dix/events.c6
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)