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.
This commit is contained in:
Peter Hutterer 2007-10-14 01:50:40 +09:30
parent 042e16458b
commit ce9bf9a191

View File

@ -398,6 +398,7 @@ typedef struct _DeviceIntRec {
int nPrivates;
DeviceUnwrapProc unwrapProc;
SpriteInfoPtr spriteInfo;
DeviceIntPtr master; /* master device */
} DeviceIntRec;
typedef struct {