mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
data-device: make sources inert, rename cancel to destroy
This commit is contained in:
parent
4cb0697e57
commit
1150ff13ce
6 changed files with 45 additions and 38 deletions
|
|
@ -159,7 +159,7 @@ void wlr_seat_destroy(struct wlr_seat *seat) {
|
|||
|
||||
if (seat->selection_source) {
|
||||
wl_list_remove(&seat->selection_source_destroy.link);
|
||||
wlr_data_source_cancel(seat->selection_source);
|
||||
wlr_data_source_destroy(seat->selection_source);
|
||||
seat->selection_source = NULL;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue