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:
parent
1dd174add3
commit
eca398f113
@ -108,10 +108,13 @@ xsettings_filter (XEvent *xevent,
|
|||||||
{
|
{
|
||||||
ClutterBackendX11 *backend_x11 = data;
|
ClutterBackendX11 *backend_x11 = data;
|
||||||
|
|
||||||
if (_clutter_xsettings_client_process_event (backend_x11->xsettings, xevent))
|
_clutter_xsettings_client_process_event (backend_x11->xsettings, xevent);
|
||||||
return CLUTTER_X11_FILTER_REMOVE;
|
|
||||||
else
|
/* we always want the rest of the stack to get XSettings events, even
|
||||||
return CLUTTER_X11_FILTER_CONTINUE;
|
* if Clutter already handled them
|
||||||
|
*/
|
||||||
|
|
||||||
|
return CLUTTER_X11_FILTER_CONTINUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
static Bool
|
static Bool
|
||||||
|
Loading…
Reference in New Issue
Block a user