diff options
Diffstat (limited to 'include/wlr')
-rw-r--r-- | include/wlr/types/wlr_gtk_primary_selection.h | 17 | ||||
-rw-r--r-- | include/wlr/types/wlr_seat.h | 1 |
2 files changed, 1 insertions, 17 deletions
diff --git a/include/wlr/types/wlr_gtk_primary_selection.h b/include/wlr/types/wlr_gtk_primary_selection.h index e2019123..ed025869 100644 --- a/include/wlr/types/wlr_gtk_primary_selection.h +++ b/include/wlr/types/wlr_gtk_primary_selection.h @@ -36,7 +36,7 @@ struct wlr_gtk_primary_selection_device { struct wl_list resources; // wl_resource_get_link struct wlr_gtk_primary_selection_source *source; - struct wl_list offers; // wlr_gtk_primary_selection_offer::link + struct wl_list offers; // wl_resource_get_link struct wl_listener seat_destroy; struct wl_listener seat_focus_change; @@ -64,21 +64,6 @@ struct wlr_gtk_primary_selection_source { void *data; }; -/** - * An offer is the receiving side of a selection. When the selection is set, - * offers are created for the currently focused client and can be used to - * initiate the data transfer. - */ -struct wlr_gtk_primary_selection_offer { - struct wl_resource *resource; - struct wlr_gtk_primary_selection_source *source; - struct wl_list link; // wlr_gtk_primary_selection_device::offers - - struct wl_listener source_destroy; - - void *data; -}; - struct wlr_gtk_primary_selection_device_manager * wlr_gtk_primary_selection_device_manager_create(struct wl_display *display); void wlr_gtk_primary_selection_device_manager_destroy( diff --git a/include/wlr/types/wlr_seat.h b/include/wlr/types/wlr_seat.h index f064c3bb..0b8f15ab 100644 --- a/include/wlr/types/wlr_seat.h +++ b/include/wlr/types/wlr_seat.h @@ -199,7 +199,6 @@ struct wlr_seat { // not owned by the seat struct wlr_gtk_primary_selection_source *primary_selection_source; - uint32_t primary_selection_serial; // `drag` goes away before `drag_source`, when the implicit grab ends struct wlr_drag *drag; |