From eca398f11309ff91c6a10d51e5358ed28f816397 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Tue, 6 Jul 2010 17:13:55 +0100 Subject: [PATCH] x11: Do not swallow XSettings events We might want pieces higher in the stack (like Mx) to handle XSettings events as well, and swallowing them by removing them from the events queue would make it impossible. --- clutter/x11/clutter-backend-x11.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/clutter/x11/clutter-backend-x11.c b/clutter/x11/clutter-backend-x11.c index b810463a0..81ce4d817 100644 --- a/clutter/x11/clutter-backend-x11.c +++ b/clutter/x11/clutter-backend-x11.c @@ -108,10 +108,13 @@ xsettings_filter (XEvent *xevent, { ClutterBackendX11 *backend_x11 = data; - if (_clutter_xsettings_client_process_event (backend_x11->xsettings, xevent)) - return CLUTTER_X11_FILTER_REMOVE; - else - return CLUTTER_X11_FILTER_CONTINUE; + _clutter_xsettings_client_process_event (backend_x11->xsettings, xevent); + + /* we always want the rest of the stack to get XSettings events, even + * if Clutter already handled them + */ + + return CLUTTER_X11_FILTER_CONTINUE; } static Bool