mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-02-18 02:30:36 +01:00
mi: Just some formatting consistency...
This commit is contained in:
parent
d7d4cd3003
commit
06655dac00
1 changed files with 4 additions and 4 deletions
|
|
@ -257,12 +257,12 @@ mieqProcessInputEvents(void)
|
|||
pthread_mutex_unlock(&miEventQueueMutex);
|
||||
#endif
|
||||
|
||||
if (miEventQueue.handlers[e.event->u.u.type]) {
|
||||
if (miEventQueue.handlers[e.event[0].u.u.type]) {
|
||||
/* If someone's registered a custom event handler, let them
|
||||
* steal it. */
|
||||
miEventQueue.handlers[e.event->u.u.type](e.pScreen->myNum,
|
||||
e.event, e.pDev,
|
||||
e.nevents);
|
||||
miEventQueue.handlers[e.event[0].u.u.type](e.pScreen->myNum,
|
||||
e.event, e.pDev,
|
||||
e.nevents);
|
||||
}
|
||||
else if (e.pScreen != miEventQueue.pDequeueScreen) {
|
||||
/* Assumption - screen switching can only occur on motion events. */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue