backend-x11: Only spoof the event when we're passing it to Clutter
There's no need to do so otherwise.
This commit is contained in:
parent
c2abe43ee7
commit
63bca17ab6
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user