multi-seat: re-enable selection support (excluding OSC 52)

This commit is contained in:
Daniel Eklöf 2020-07-08 18:41:09 +02:00
parent 04e566492c
commit 4c7d29f7eb
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
4 changed files with 104 additions and 109 deletions

View file

@ -106,6 +106,14 @@ seat_destroy(struct seat *seat)
if (seat->pointer.xcursor_callback != NULL)
wl_callback_destroy(seat->pointer.xcursor_callback);
if (seat->clipboard.data_source != NULL)
wl_data_source_destroy(seat->clipboard.data_source);
if (seat->clipboard.data_offer != NULL)
wl_data_offer_destroy(seat->clipboard.data_offer);
if (seat->primary.data_source != NULL)
zwp_primary_selection_source_v1_destroy(seat->primary.data_source);
if (seat->primary.data_offer != NULL)
zwp_primary_selection_offer_v1_destroy(seat->primary.data_offer);
if (seat->primary_selection_device != NULL)
zwp_primary_selection_device_v1_destroy(seat->primary_selection_device);
if (seat->data_device != NULL)