waylandCompositer: Cancel data_source when overrideSelection
data_offer takes priority within data_source.
Therefore, overrideSelection should first cancel
the current data_source.
Fixes: QTBUG-127301
Pick-to: 6.8 6.7 6.5
Change-Id: I660d68897ee08ca3f9e88fe32892cf989058e69e
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
| commit | f09eef80f901c55159be3cbb452d3cccc0dcd4ab |
| parent | dca848f60a468a59dcb048c95311be28eb6c7910 |
| author | Inho Lee <inho.lee@qt.io> |
| committer | Inho Lee <inho.lee@qt.io> |
| commit time | Mon, 9 Sep 2024 08:40:14 +0200 |