mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-26 19:04:50 +00:00
dix: Add ClientPointer to client, used for picking which pointer to use in
ambiguious request. PickPointer and PickKeyboard are used for getting
the appropriate pointer when situation is unclear.
Fix some issues with InitializeSprite.
dix, xfree86: Remove last traces of InitSprite.
This commit is contained in:
committed by
Peter Hutterer
parent
43bd35fcf8
commit
e43b8a4e40
@@ -602,6 +602,12 @@ extern int TryClientEvents(
|
||||
|
||||
extern void WindowsRestructured(void);
|
||||
|
||||
extern DeviceIntPtr PickPointer(
|
||||
ClientPtr /* client */);
|
||||
|
||||
extern DeviceIntPtr PickKeyboard(
|
||||
ClientPtr /* client */);
|
||||
|
||||
#ifdef PANORAMIX
|
||||
extern void ReinitializeRootWindow(WindowPtr win, int xoff, int yoff);
|
||||
#endif
|
||||
|
||||
@@ -140,6 +140,8 @@ typedef struct _Client {
|
||||
long smart_stop_tick;
|
||||
long smart_check_tick;
|
||||
#endif
|
||||
|
||||
DeviceIntPtr clientPtr;
|
||||
} ClientRec;
|
||||
|
||||
#ifdef SMART_SCHEDULE
|
||||
|
||||
@@ -450,6 +450,8 @@ extern int PairDevices(ClientPtr client,
|
||||
DeviceIntPtr pointer,
|
||||
DeviceIntPtr keyboard);
|
||||
|
||||
extern DeviceIntPtr GetPairedPointer(DeviceIntPtr kbd);
|
||||
|
||||
extern Bool RegisterPairingClient(ClientPtr client);
|
||||
extern Bool UnregisterPairingClient(ClientPtr client);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user