summaryrefslogtreecommitdiff
path: root/include/inputstr.h
diff options
context:
space:
mode:
authorPeter Hutterer <peter@cs.unisa.edu.au>2007-01-29 18:23:24 +1030
committerPeter Hutterer <whot@hyena.localdomain>2007-01-29 18:23:24 +1030
commit4aaaa70d1b52346213fad46777c006a93c4ece5d (patch)
tree580ddae0d47b8902b9afb2312c65dbf92635f889 /include/inputstr.h
parentf3418b52dcf2ab4982504856ab9fae3e726ee6d2 (diff)
Xi: Adding ChangePointerKeyboardPairing request
Adding PointerKeyboardPairingChanged event Correct error values for XWarpDevicePointer dix: Adding device argument to SendMappingNotify Adding spriteOwner flag to devices
Diffstat (limited to 'include/inputstr.h')
-rw-r--r--include/inputstr.h7
1 files changed, 6 insertions, 1 deletions
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 {