summaryrefslogtreecommitdiff
path: root/mi
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-02-02 17:20:17 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-02-23 17:52:40 +1000
commit763848d3ab84b4e33a0254120c44b5a1877c819d (patch)
tree5215ee6c1c042aa6f505ebd27fb2f59b9d9cbf25 /mi
parent0b4066c116e07918a13dc6b4159df7ac9eb92b4b (diff)
Input: change processing API to InternalEvents.
Don't pass xEvent* and count through to processing, pass a single InternalEvent. Custom handlers are disabled for the time being. And for extra fun, XKB's pointer motion emulation is disabled. But stick an error in there so that we get reminded should we forget about it. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'mi')
-rw-r--r--mi/mieq.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/mi/mieq.c b/mi/mieq.c
index a3e58a3a6..cca565abf 100644
--- a/mi/mieq.c
+++ b/mi/mieq.c
@@ -391,6 +391,7 @@ mieqProcessInputEvents(void)
/* If someone's registered a custom event handler, let them
* steal it. */
+#if 0
if (handler)
{
/* FIXME: this is broken now, InternalEvents! */
@@ -399,12 +400,15 @@ mieqProcessInputEvents(void)
handler(DequeueScreen(master)->myNum,
masterEvents->event, master, 1);
} else
+#endif
{
/* process slave first, then master */
- dev->public.processInputProc(event, dev, 1);
+ dev->public.processInputProc(event, dev);
if (master)
- master->public.processInputProc(masterEvents->event, master, 1);
+ master->public.processInputProc(
+ (InternalEvent*)masterEvents->event,
+ master);
}
}