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.
This commit is contained in:
Emmanuele Bassi 2010-07-06 17:13:55 +01:00
parent 1dd174add3
commit eca398f113

View File

@ -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