mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-03 17:30:13 +01:00
mi: update macro to search for MASTER_POINTER
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Benjamin Tissoires <tissoire@cena.fr>
This commit is contained in:
parent
d270f12a3e
commit
52c13896ce
1 changed files with 1 additions and 1 deletions
|
|
@ -76,7 +76,7 @@ typedef struct {
|
|||
#define miGetDCDevice(dev, screen) \
|
||||
((DevHasCursor(dev)) ? \
|
||||
(miDCBufferPtr)dixLookupScreenPrivate(&dev->devPrivates, miDCDeviceKey, screen) : \
|
||||
(miDCBufferPtr)dixLookupScreenPrivate(&dev->u.master->devPrivates, miDCDeviceKey, screen))
|
||||
(miDCBufferPtr)dixLookupScreenPrivate(&GetMaster(dev, MASTER_POINTER)->devPrivates, miDCDeviceKey, screen))
|
||||
|
||||
/*
|
||||
* The core pointer buffer will point to the index of the virtual core pointer
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue