Commit 63bca17a authored by Jasper St. Pierre's avatar Jasper St. Pierre
Browse files

backend-x11: Only spoof the event when we're passing it to Clutter

There's no need to do so otherwise.
parent c2abe43e
......@@ -148,11 +148,12 @@ handle_host_xevent (MetaBackend *backend,
}
}
maybe_spoof_event_as_stage_event (x11, event);
out:
if (!bypass_clutter)
clutter_x11_handle_event (event);
{
maybe_spoof_event_as_stage_event (x11, event);
clutter_x11_handle_event (event);
}
XFreeEventData (priv->xdisplay, &event->xcookie);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment