diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-02-10 12:45:49 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-02-23 17:52:40 +1000 |
commit | 36583a49965c0bb40a84284939b1539b3cb9fc9c (patch) | |
tree | 3db0555856827e5ed533821ac166dc099d78491f /mi/mi.h | |
parent | 47f136ed6fd80310f715a2555501d1b271dd084c (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.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 ); |