From 31005efb1bb6be5a892ff905f754109dc3fa8fe6 Mon Sep 17 00:00:00 2001 From: Fernando Carrijo Date: Mon, 10 Nov 2008 13:23:45 -0500 Subject: [PATCH] input: Remove useless conditional. --- dix/events.c | 6 +----- 1 file changed, 1 insertion(+), 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)