From ce9bf9a19185a36ac2f7ae75acd320ab8d03d247 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Sun, 14 Oct 2007 01:50:40 +0930 Subject: [PATCH] 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. --- include/inputstr.h | 1 + 1 file changed, 1 insertion(+) 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 {