From b6ccf721b0a582150858d68f91967fb4e319c340 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Tue, 16 Oct 2007 17:35:06 +0930 Subject: [PATCH] include: add "lastSlave" field to DeviceIntRec. Set to the last slave device that routed events through the master. --- include/inputstr.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/inputstr.h b/include/inputstr.h index d96e24a96..b2304ddfa 100644 --- a/include/inputstr.h +++ b/include/inputstr.h @@ -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 {