diff options
author | emersion <contact@emersion.fr> | 2018-12-30 02:52:03 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-12-30 02:52:03 +0100 |
commit | 69e7fd61b7824ce683137b44beff02899d6ce78b (patch) | |
tree | 52916d61d543b29182034a9f22a1bc213dc59201 /include/wlr | |
parent | 340281b48aad852d78148adb58dffd76dfcefe4f (diff) |
data-control-v1: update to latest protocol proposal
Diffstat (limited to 'include/wlr')
-rw-r--r-- | include/wlr/types/wlr_data_control_v1.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/include/wlr/types/wlr_data_control_v1.h b/include/wlr/types/wlr_data_control_v1.h index 69d7281b..50c96736 100644 --- a/include/wlr/types/wlr_data_control_v1.h +++ b/include/wlr/types/wlr_data_control_v1.h @@ -15,20 +15,20 @@ struct wlr_data_control_manager_v1 { struct wl_global *global; struct wl_list resources; // wl_resource_get_link - struct wl_list controls; // wlr_data_control_v1::link + struct wl_list devices; // wlr_data_control_device_v1::link struct { struct wl_signal destroy; - struct wl_signal new_control; // wlr_data_control_v1 + struct wl_signal new_device; // wlr_data_control_device_v1 } events; struct wl_listener display_destroy; }; -struct wlr_data_control_v1 { +struct wlr_data_control_device_v1 { struct wl_resource *resource; struct wlr_data_control_manager_v1 *manager; - struct wl_list link; // wlr_data_control_manager_v1::controls + struct wl_list link; // wlr_data_control_manager_v1::devices struct wlr_seat *seat; struct wl_resource *selection_offer_resource; // current selection offer @@ -42,6 +42,7 @@ struct wlr_data_control_manager_v1 *wlr_data_control_manager_v1_create( void wlr_data_control_manager_v1_destroy( struct wlr_data_control_manager_v1 *manager); -void wlr_data_control_v1_destroy(struct wlr_data_control_v1 *control); +void wlr_data_control_device_v1_destroy( + struct wlr_data_control_device_v1 *device); #endif |