diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-02-06 12:08:43 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-02-23 17:52:40 +1000 |
commit | 47f136ed6fd80310f715a2555501d1b271dd084c (patch) | |
tree | 7d9bea3fe57557a9c3a0f450aae82230b24049dc /mi/mieq.c | |
parent | bdc262701a37a0c12ead810d63fa99a26cbb82ec (diff) |
mi: change custom handlers to internal events
This should re-enable DGA, but XQuartz needs to be changed to internal events
too now.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'mi/mieq.c')
-rw-r--r-- | mi/mieq.c | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -391,16 +391,13 @@ mieqProcessInputEvents(void) /* If someone's registered a custom event handler, let them * steal it. */ -#if 0 if (handler) { - /* FIXME: this is broken now, InternalEvents! */ - handler(DequeueScreen(dev)->myNum, event, dev, 1); + handler(DequeueScreen(dev)->myNum, event, dev); if (master) handler(DequeueScreen(master)->myNum, - masterEvents->event, master, 1); + (InternalEvent*)masterEvents->event, master); } else -#endif { /* process slave first, then master */ dev->public.processInputProc(event, dev); |