diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-01-30 14:35:22 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-02-23 17:52:39 +1000 |
commit | 007e93c869325cafcc29d975b356dbb8e7cd2ac1 (patch) | |
tree | a824cb5c60f36c5167e3881b31f12eb62987cae2 /mi | |
parent | 64ea6078105f73d1b727619fc123920bc7e4a06c (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.c | 13 |
1 files changed, 2 insertions, 11 deletions
@@ -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); } } |