[PATCH] dix: for core events, pass the core filter into DeliverEventsToWindow

Peter Hutterer peter.hutterer at who-t.net
Mon Feb 2 19:28:49 PST 2009


Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
 dix/events.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dix/events.c b/dix/events.c
index 0c8d198..2655312 100644
--- a/dix/events.c
+++ b/dix/events.c
@@ -3479,7 +3479,7 @@ DeliverFocusedEvent(DeviceIntPtr keybd, xEvent *xE, WindowPtr window, int count)
     {
         FixUpEventFromWindow(keybd, &core, focus, None, FALSE);
         deliveries = DeliverEventsToWindow(keybd, focus, &core, 1,
-                                           filters[keybd->id][xE->u.u.type],
+                                           filters[keybd->id][core.u.u.type],
                                            NullGrab, 0);
     }
 }
-- 
1.6.0.6




More information about the xorg mailing list