diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-02-06 12:08:43 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-02-23 17:52:40 +1000 |
commit | 47f136ed6fd80310f715a2555501d1b271dd084c (patch) | |
tree | 7d9bea3fe57557a9c3a0f450aae82230b24049dc /mi/mi.h | |
parent | bdc262701a37a0c12ead810d63fa99a26cbb82ec (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.h | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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 */ |