mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-26 21:12:25 +00:00
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>
This commit is contained in:
parent
bdc262701a
commit
47f136ed6f
4 changed files with 151 additions and 118 deletions
7
mi/mi.h
7
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 */
|
||||
|
|
|
|||
Loading…
Reference in a new issue