summaryrefslogtreecommitdiff
path: root/mi/mieq.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-02-06 12:08:43 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-02-23 17:52:40 +1000
commit47f136ed6fd80310f715a2555501d1b271dd084c (patch)
tree7d9bea3fe57557a9c3a0f450aae82230b24049dc /mi/mieq.c
parentbdc262701a37a0c12ead810d63fa99a26cbb82ec (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.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/mi/mieq.c b/mi/mieq.c
index cca565abf..e7b7ff0d0 100644
--- a/mi/mieq.c
+++ b/mi/mieq.c
@@ -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);