mirror of
https://github.com/brl/mutter.git
synced 2025-03-25 04:33:52 +00:00

When a possible drag dest client crashes during DnD, it may happen we receive first the destroy notification for the data_device, and later the notification for the focus surface. When this happens we unset the drag_focus_data_device first, and later on meta_wayland_drag_grab_set_focus(grab, NULL) we assume it still exists when sending the leave event, leading to mutter crashing right after. So, as we don't receive any ordering guarantees about resource destruction, just prepare the meta_wayland_drag_grab_set_focus() paths for this.
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%