mirror of
https://github.com/brl/mutter.git
synced 2025-04-09 19:59:38 +00:00

We are meant to send a .cancelled event after the drop is performed in certain situations, but only for version>3 clients. Since this is all version 3 business, only set the drop_performed flag for v3 clients. This drops the need to perform version checks at the time of cancelling (which is present for other usecases in v1). Fixes emission of wl_data_source.cancelled for v1 clients. Closes: https://gitlab.gnome.org/GNOME/mutter/-/issues/1177 https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1203 (cherry picked from commit d4c3870286353e58d7e4c95111f1cdd354ba17ce)