mi: don't call SwitchCoreKeyboard, we switch during event processing now.
This commit is contained in:
parent
64711a0948
commit
a08665d4d3
10
mi/mieq.c
10
mi/mieq.c
|
@ -331,16 +331,6 @@ mieqProcessInputEvents(void)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Make sure our keymap, et al, is changed to suit. */
|
|
||||||
if ((e->events->event[0].u.u.type == DeviceKeyPress ||
|
|
||||||
e->events->event[0].u.u.type == DeviceKeyRelease ||
|
|
||||||
e->events->event[0].u.u.type == KeyPress ||
|
|
||||||
e->events->event[0].u.u.type == KeyRelease) &&
|
|
||||||
!e->pDev->isMaster)
|
|
||||||
{
|
|
||||||
SwitchCoreKeyboard(e->pDev);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* FIXME: Bad hack. The only event where we actually get multiple
|
/* FIXME: Bad hack. The only event where we actually get multiple
|
||||||
* events at once is a DeviceMotionNotify followed by
|
* events at once is a DeviceMotionNotify followed by
|
||||||
* DeviceValuators. For now it's save enough to just take the
|
* DeviceValuators. For now it's save enough to just take the
|
||||||
|
|
Loading…
Reference in New Issue
Block a user