diff options
Diffstat (limited to 'dix/events.c')
-rw-r--r-- | dix/events.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dix/events.c b/dix/events.c index 7a79d292b..2947ff1aa 100644 --- a/dix/events.c +++ b/dix/events.c @@ -1504,7 +1504,8 @@ CheckGrabForSyncs(DeviceIntPtr thisDev, Bool thisMode, Bool otherMode) } /* Only ever used if a grab is called on an attached slave device. */ -static DevPrivateKey GrabPrivateKey = &GrabPrivateKey; +static int GrabPrivateKeyIndex; +static DevPrivateKey GrabPrivateKey = &GrabPrivateKeyIndex; typedef struct _GrabMemoryRec { DeviceIntPtr oldmaster; } GrabMemoryRec, *GrabMemoryPtr; |