mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-22 20:35:43 +00:00
Xi: Adding ChangePointerKeyboardPairing request
Adding PointerKeyboardPairingChanged event Correct error values for XWarpDevicePointer dix: Adding device argument to SendMappingNotify Adding spriteOwner flag to devices
This commit is contained in:
parent
f3418b52dc
commit
4aaaa70d1b
13 changed files with 226 additions and 27 deletions
|
|
@ -121,6 +121,12 @@ SDeviceLeaveNotifyEvent (
|
|||
deviceLeaveNotify * /* to */
|
||||
);
|
||||
|
||||
void
|
||||
SPointerKeyboardPairingChangedNotifyEvent (
|
||||
pairingChangedNotify * /* from */,
|
||||
pairingChangedNotify * /* to */
|
||||
);
|
||||
|
||||
void
|
||||
FixExtensionEvents (
|
||||
ExtensionEntry * /* extEntry */
|
||||
|
|
@ -143,7 +149,7 @@ AssignTypeAndName (
|
|||
char * /* name */
|
||||
);
|
||||
|
||||
Bool MayNeedPointer(
|
||||
Bool IsPointerDevice(
|
||||
DeviceIntPtr /* dev */
|
||||
);
|
||||
|
||||
|
|
|
|||
|
|
@ -323,6 +323,7 @@ extern Bool InitKeyboardDeviceStruct(
|
|||
KbdCtrlProcPtr /*controlProc*/);
|
||||
|
||||
extern void SendMappingNotify(
|
||||
DeviceIntPtr /* pDev */,
|
||||
unsigned int /*request*/,
|
||||
unsigned int /*firstKeyCode*/,
|
||||
unsigned int /*count*/,
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue