mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-22 12:55:58 +01:00
Update data-control
This commit is contained in:
parent
e7d9cf5815
commit
b59370088e
2 changed files with 0 additions and 13 deletions
|
@ -69,15 +69,6 @@
|
||||||
appropriate destroy request has been called.
|
appropriate destroy request has been called.
|
||||||
</description>
|
</description>
|
||||||
</request>
|
</request>
|
||||||
|
|
||||||
<!-- Version 2 additions -->
|
|
||||||
|
|
||||||
<event name="primary_selection" since="2">
|
|
||||||
<description summary="advertise primary selection support">
|
|
||||||
This event can be sent when binding to the wlr_data_control_manager
|
|
||||||
global to advertise that it supports the primary selection.
|
|
||||||
</description>
|
|
||||||
</event>
|
|
||||||
</interface>
|
</interface>
|
||||||
|
|
||||||
<interface name="zwlr_data_control_device_v1" version="2">
|
<interface name="zwlr_data_control_device_v1" version="2">
|
||||||
|
|
|
@ -667,10 +667,6 @@ static void manager_bind(struct wl_client *client, void *data, uint32_t version,
|
||||||
manager_handle_resource_destroy);
|
manager_handle_resource_destroy);
|
||||||
|
|
||||||
wl_list_insert(&manager->resources, wl_resource_get_link(resource));
|
wl_list_insert(&manager->resources, wl_resource_get_link(resource));
|
||||||
|
|
||||||
if (version >= ZWLR_DATA_CONTROL_MANAGER_V1_PRIMARY_SELECTION_SINCE_VERSION) {
|
|
||||||
zwlr_data_control_manager_v1_send_primary_selection(resource);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void handle_display_destroy(struct wl_listener *listener, void *data) {
|
static void handle_display_destroy(struct wl_listener *listener, void *data) {
|
||||||
|
|
Loading…
Reference in a new issue