mi: don't call SwitchCoreKeyboard, we switch during event processing now.

This commit is contained in:
Peter Hutterer 2007-11-15 10:42:29 +10:30
parent 64711a0948
commit a08665d4d3

View File

@ -331,16 +331,6 @@ mieqProcessInputEvents(void)
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
* events at once is a DeviceMotionNotify followed by
* DeviceValuators. For now it's save enough to just take the