dix: init GrabPrivateKey to correct value.

Merge detritus from last pull.
This commit is contained in:
Peter Hutterer 2008-01-07 20:06:32 +10:30
parent 249b9b30c1
commit 57a491e6d3

View File

@ -1538,7 +1538,7 @@ CheckGrabForSyncs(DeviceIntPtr thisDev, Bool thisMode, Bool otherMode)
}
/* Only ever used if a grab is called on an attached slave device. */
static DevPrivateKey GrabPrivateKey = -1;
static DevPrivateKey GrabPrivateKey = &GrabPrivateKey;
typedef struct _GrabMemoryRec {
DeviceIntPtr oldmaster;
} GrabMemoryRec, *GrabMemoryPtr;