summaryrefslogtreecommitdiff
path: root/mi/mi.h
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-02-06 12:08:43 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-02-23 17:52:40 +1000
commit47f136ed6fd80310f715a2555501d1b271dd084c (patch)
tree7d9bea3fe57557a9c3a0f450aae82230b24049dc /mi/mi.h
parentbdc262701a37a0c12ead810d63fa99a26cbb82ec (diff)
mi: change custom handlers to internal events
This should re-enable DGA, but XQuartz needs to be changed to internal events too now. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'mi/mi.h')
-rw-r--r--mi/mi.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/mi/mi.h b/mi/mi.h
index 570aa6016..9ecf40b1b 100644
--- a/mi/mi.h
+++ b/mi/mi.h
@@ -215,7 +215,12 @@ extern _X_EXPORT void mieqProcessInputEvents(
void
);
-typedef void (*mieqHandler)(int, xEventPtr, DeviceIntPtr, int);
+/**
+ * Custom input event handler. If you need to process input events in some
+ * other way than the default path, register an input event handler for the
+ * given internal event type.
+ */
+typedef void (*mieqHandler)(int screen, InternalEvent* event, DeviceIntPtr dev);
void _X_EXPORT mieqSetHandler(int event, mieqHandler handler);
/* miexpose.c */