Skip to content

clutter: Ensure we always call handle_event_post for processed events

Since commit 2ceac4a2 device-related X11 events aren't processed anymore, causing the input settings not to handle the devices. This is due to the fact that we may never call clutter_seat_handle_event_post() for such events.

While this is always happening for the native backend, it doesn't happen in X11 because the events are removed from the queue as part of meta_x11_handle_event(), and thus no event was queued to the stage by the backend events source.

This also makes sure that the event post handler is called after the event is actually processed, and not before an event is queued.

Fixes: #1564 (closed)

Edited by Marco Trevisan

Merge request reports