mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-26 21:12:25 +00:00
mi: split EQ popping and event processing into two functions.
mieqProcessInputEvents() - pop an event off the EQ and pass it to mieqProcessDeviceEvent() - process the event according to the MD/SD hierarchy. This way, we can use mieqPDE() from Xtest, xkb, and others to post an event. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
47f136ed6f
commit
36583a4996
3 changed files with 62 additions and 41 deletions
6
mi/mi.h
6
mi/mi.h
|
|
@ -211,6 +211,12 @@ extern _X_EXPORT void mieqSwitchScreen(
|
|||
Bool /*fromDIX*/
|
||||
);
|
||||
|
||||
extern _X_EXPORT void mieqProcessDeviceEvent(
|
||||
DeviceIntPtr /* dev*/,
|
||||
InternalEvent* /* event */,
|
||||
ScreenPtr /* screen*/
|
||||
);
|
||||
|
||||
extern _X_EXPORT void mieqProcessInputEvents(
|
||||
void
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in a new issue