Skip to content

clutter/input-device: Sync cursor focus after grabs ended

This is the third of three MRs required to remove the shell_global_sync_pointer workaround, the other MRs are !429 (closed) and !554 (closed).

Make sure the grabbed actor receives a CLUTTER_LEAVE event and the new actor under the cursor is properly focused after a grab ended.

We should also do this for touch sequences, but our DnD code in the shell in some cases calls the ungrab functions long after the event sequence is gone, which leads to a Mutter crash if we use the event sequence inside the ungrab function.

Merge request reports