summaryrefslogtreecommitdiff
path: root/mi/mi.h
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-02-10 12:45:49 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-02-23 17:52:40 +1000
commit36583a49965c0bb40a84284939b1539b3cb9fc9c (patch)
tree3db0555856827e5ed533821ac166dc099d78491f /mi/mi.h
parent47f136ed6fd80310f715a2555501d1b271dd084c (diff)
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>
Diffstat (limited to 'mi/mi.h')
-rw-r--r--mi/mi.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/mi/mi.h b/mi/mi.h
index 9ecf40b1b..076cea704 100644
--- a/mi/mi.h
+++ b/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
);