summaryrefslogtreecommitdiff
path: root/mi
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-01-30 14:35:22 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-02-23 17:52:39 +1000
commit007e93c869325cafcc29d975b356dbb8e7cd2ac1 (patch)
treea824cb5c60f36c5167e3881b31f12eb62987cae2 /mi
parent64ea6078105f73d1b727619fc123920bc7e4a06c (diff)
xkb: Switch the xkb event processing path over to InternalEvents.
Before dropping down into the DIX, convert back into XI events. This is a temporary solution only, until the DIX is capable of handling InternalEvents anyway. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'mi')
-rw-r--r--mi/mieq.c13
1 files changed, 2 insertions, 11 deletions
diff --git a/mi/mieq.c b/mi/mieq.c
index 7744b9a29..a3e58a3a6 100644
--- a/mi/mieq.c
+++ b/mi/mieq.c
@@ -400,20 +400,11 @@ mieqProcessInputEvents(void)
masterEvents->event, master, 1);
} else
{
- /* FIXME: temporary solution only. */
- static int nevents;
- static xEvent xE[1000]; /* enough bytes for the events we have atm */
-
- nevents = ConvertBackToXI(event, xE);
-
/* process slave first, then master */
- dev->public.processInputProc(xE, dev, nevents);
+ dev->public.processInputProc(event, dev, 1);
if (master)
- {
- nevents = ConvertBackToXI((InternalEvent*)masterEvents->event, xE);
- master->public.processInputProc(xE, master, nevents);
- }
+ master->public.processInputProc(masterEvents->event, master, 1);
}
}