diff options
Diffstat (limited to 'xorg-server/mi/midispcur.c')
-rw-r--r-- | xorg-server/mi/midispcur.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xorg-server/mi/midispcur.c b/xorg-server/mi/midispcur.c index ef5c4e29e..3ae157fa3 100644 --- a/xorg-server/mi/midispcur.c +++ b/xorg-server/mi/midispcur.c @@ -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
|