From 4fd0885978be286a68b689824f1d910f929a52b0 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Tue, 15 Jan 2008 18:58:42 +1030 Subject: [PATCH] Xi: remove some leftovers from ProcessOtherEvents. Core handling not needed anymore here. --- Xi/exevents.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/Xi/exevents.c b/Xi/exevents.c index 23d0c47b6..faf391fc3 100644 --- a/Xi/exevents.c +++ b/Xi/exevents.c @@ -595,10 +595,7 @@ UpdateDeviceState(DeviceIntPtr device, xEvent* xE, int count) /** * Main device event processing function. * Called from when processing the events from the event queue. - * Generates core events for XI events as needed. * - * Note that these core events are then delivered first. For passive grabs, XI - * events have preference over core. */ void ProcessOtherEvent(xEventPtr xE, DeviceIntPtr device, int count) @@ -612,8 +609,6 @@ ProcessOtherEvent(xEventPtr xE, DeviceIntPtr device, int count) KeyClassPtr k; ValuatorClassPtr v; deviceValuator *xV = (deviceValuator *) xE; - BOOL sendCore = FALSE; - xEvent core; int coretype = 0; int ret = 0; @@ -625,10 +620,6 @@ ProcessOtherEvent(xEventPtr xE, DeviceIntPtr device, int count) b = device->button; k = device->key; - coretype = XItoCoreType(xE->u.u.type); - if (device->isMaster && device->coreEvents && coretype) - sendCore = TRUE; - if (device->isMaster) CheckMotion(xE, device);