From 4aaaa70d1b52346213fad46777c006a93c4ece5d Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 29 Jan 2007 18:23:24 +1030 Subject: Xi: Adding ChangePointerKeyboardPairing request Adding PointerKeyboardPairingChanged event Correct error values for XWarpDevicePointer dix: Adding device argument to SendMappingNotify Adding spriteOwner flag to devices --- include/inputstr.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'include/inputstr.h') diff --git a/include/inputstr.h b/include/inputstr.h index cc3280dc2..c4a2d1855 100644 --- a/include/inputstr.h +++ b/include/inputstr.h @@ -178,7 +178,7 @@ typedef struct _ButtonClassRec { } ButtonClassRec, *ButtonClassPtr; typedef struct _FocusClassRec { - WindowPtr win; + WindowPtr win; /* May be set to a int constant (e.g. PointerRootWin)! */ int revert; TimeStamp time; WindowPtr *trace; @@ -355,7 +355,12 @@ typedef struct _DeviceIntRec { int nPrivates; DeviceUnwrapProc unwrapProc; Bool isMPDev; /* TRUE if multipointer device */ + /* Each devices has a sprite. However, keyboards and shared pointers do + not in fact own a sprite but rather have their pointer set to the + sprite of another device. pSprite always has to point to a valid + sprite. spriteOwner indicates whether it is the device's sprite. */ SpritePtr pSprite; /* sprite information */ + Bool spriteOwner; /* FALSE if shared sprite, see above*/ } DeviceIntRec; typedef struct { -- cgit v1.2.3