clutter: Always make the seat handle the events first
Some events such as the proximity one requires a device to be set before
we process them, so ensure we process the event details after we've
added the device to the seat.
This may lead to handle a device-removed signal before the clutter event
but it's anyways not different from what we did before commit 012c0a18
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1779>
This commit is contained in:
parent
a78a3258e2
commit
eed368ee91
1 changed files with 1 additions and 1 deletions
|
@ -1909,8 +1909,8 @@ _clutter_process_event (ClutterEvent *event)
|
|||
*/
|
||||
context->current_event = g_slist_prepend (context->current_event, event);
|
||||
|
||||
_clutter_process_event_details (stage, context, event);
|
||||
clutter_seat_handle_event_post (seat, event);
|
||||
_clutter_process_event_details (stage, context, event);
|
||||
|
||||
context->current_event = g_slist_delete_link (context->current_event, context->current_event);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue