summaryrefslogtreecommitdiff
path: root/include/dix.h
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2011-01-19 20:38:44 +0000
committerPeter Hutterer <peter.hutterer@who-t.net>2011-05-06 13:15:16 +1000
commit00ba884556c675b2b25e116f5ab4eb4590b6dd56 (patch)
tree269d023c320f4e9d680045d9e221b2947ba8f924 /include/dix.h
parent56901998020b6f443cbaa5eb303100d979e81b22 (diff)
Input: Make CheckPassiveGrabsOnWindow take InternalEvent
Previously, it only took DeviceEvents, but it would be much more useful if it took InternalEvents. Any event that activates a grab must still be a DeviceEvent, so put in a check to enforce this. Change all callers to make the appropriate casts. Signed-off-by: Daniel Stone <daniel@fooishbar.org> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'include/dix.h')
-rw-r--r--include/dix.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/dix.h b/include/dix.h
index c201e3ac1..fb9be43c2 100644
--- a/include/dix.h
+++ b/include/dix.h
@@ -375,7 +375,7 @@ extern void ReleaseActiveGrabs(
extern GrabPtr CheckPassiveGrabsOnWindow(
WindowPtr /* pWin */,
DeviceIntPtr /* device */,
- DeviceEvent * /* event */,
+ InternalEvent * /* event */,
BOOL /* checkCore */,
BOOL /* activate */);