mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-24 01:40:36 +00:00
Split the signal-handler's lastSlave out into a separate variable.
dev->u.lastSlave was not signal safe since it was accessed by the DIX and
during signal handling.
Replaced with:
'dev->last.slave' for the signal handler's lastSlave (used to generate
DeviceChangedEvents), .
'dev->u.lastSlave' for the DIX lastSlave (currently only used in
change_modmap)
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
73c7398aaf
commit
add2defac7
5 changed files with 23 additions and 6 deletions
|
|
@ -1010,7 +1010,6 @@ ProcessOtherEvent(InternalEvent *ev, DeviceIntPtr device)
|
|||
if (device->isMaster || !device->u.master)
|
||||
CheckMotion(event, device);
|
||||
|
||||
|
||||
switch (event->type)
|
||||
{
|
||||
case ET_Motion:
|
||||
|
|
|
|||
Loading…
Reference in a new issue