include: add "lastSlave" field to DeviceIntRec.

Set to the last slave device that routed events through the master.
This commit is contained in:
Peter Hutterer 2007-10-16 17:35:06 +09:30
parent e6bd8ae060
commit b6ccf721b0

View File

@ -400,7 +400,10 @@ typedef struct _DeviceIntRec {
int nPrivates;
DeviceUnwrapProc unwrapProc;
SpriteInfoPtr spriteInfo;
union {
DeviceIntPtr master; /* master device */
DeviceIntPtr lastSlave; /* last slave device used */
} u;
} DeviceIntRec;
typedef struct {