summaryrefslogtreecommitdiff
path: root/include/inputstr.h
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-05-20 16:23:38 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-05-22 15:44:03 +1000
commitadd2defac7e59dcb355e5ba12b6de60861741d57 (patch)
treed519a5b4d0e63ab7f5bd0f34fab5d25eca0fae5a /include/inputstr.h
parent73c7398aafa050950ad614483fb0d5bdd2da97ca (diff)
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>
Diffstat (limited to 'include/inputstr.h')
-rw-r--r--include/inputstr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/inputstr.h b/include/inputstr.h
index 0a541a714..0fd348812 100644
--- a/include/inputstr.h
+++ b/include/inputstr.h
@@ -507,6 +507,7 @@ typedef struct _DeviceIntRec {
int valuators[MAX_VALUATORS];
float remainder[MAX_VALUATORS];
int numValuators;
+ DeviceIntPtr slave;
} last;
/* Input device property handling. */