diff options
author | Peter Hutterer <peter@cs.unisa.edu.au> | 2008-01-15 18:58:42 +1030 |
---|---|---|
committer | Peter Hutterer <peter@cs.unisa.edu.au> | 2008-01-15 18:58:42 +1030 |
commit | 4fd0885978be286a68b689824f1d910f929a52b0 (patch) | |
tree | db1d296b170d70325d0b953fb9f5a685baba42c8 /Xi/exevents.c | |
parent | 32aa252e988be8cbfd4f7e373fb7b7736ef1f5f2 (diff) |
Xi: remove some leftovers from ProcessOtherEvents.
Core handling not needed anymore here.
Diffstat (limited to 'Xi/exevents.c')
-rw-r--r-- | Xi/exevents.c | 9 |
1 files changed, 0 insertions, 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); |