mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 23:50:41 -05:00
backends/native: Drop early processing of ClutterEvents
We have 2 sources (this one in MetaSeatNative, and the one in MetaBackend) dispatching ClutterEvents to the stage. Make the MetaSeatNative one exclusively about dispatching the libinput queue, and leave ClutterEvents to the other. https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1403
This commit is contained in:
parent
4b0d3f44e1
commit
0f0848191e
@ -1351,13 +1351,6 @@ meta_event_dispatch (GSource *g_source,
|
|||||||
dispatch_libinput (seat);
|
dispatch_libinput (seat);
|
||||||
|
|
||||||
queue_event:
|
queue_event:
|
||||||
event = clutter_event_get ();
|
|
||||||
|
|
||||||
if (event)
|
|
||||||
{
|
|
||||||
/* forward the event into clutter for emission etc. */
|
|
||||||
_clutter_stage_queue_event (event->any.stage, event, FALSE);
|
|
||||||
}
|
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user