summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter@cs.unisa.edu.au>2007-10-14 01:50:40 +0930
committerPeter Hutterer <peter@cs.unisa.edu.au>2007-10-16 11:05:23 +0930
commitce9bf9a19185a36ac2f7ae75acd320ab8d03d247 (patch)
tree941f35947f05795f8a3659e00eec169694f0fffa
parent042e16458b751ad0fcfa1ebbdd74d7d48036b22a (diff)
include: add "master" field to DeviceIntRec.
"master" points to the device this device is attached to. Event sent by the device will also be routed through the master. master and spriteOwner are mutually exclusive.
-rw-r--r--include/inputstr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/inputstr.h b/include/inputstr.h
index cbbc4e2bd..146fbc8b6 100644
--- a/include/inputstr.h
+++ b/include/inputstr.h
@@ -398,6 +398,7 @@ typedef struct _DeviceIntRec {
int nPrivates;
DeviceUnwrapProc unwrapProc;
SpriteInfoPtr spriteInfo;
+ DeviceIntPtr master; /* master device */
} DeviceIntRec;
typedef struct {