aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2019-02-15 13:42:49 +0300
committeremersion <contact@emersion.fr>2019-02-15 11:58:33 +0100
commitb59370088e3290e2354ea01e30746a3711eea28f (patch)
tree3fe0135378f38ed4d30de691f07a2221fe49e66a
parente7d9cf58152ab78cc5b231d7cf49afcb21e1f5a1 (diff)
Update data-control
-rw-r--r--protocol/wlr-data-control-unstable-v1.xml9
-rw-r--r--types/wlr_data_control_v1.c4
2 files changed, 0 insertions, 13 deletions
diff --git a/protocol/wlr-data-control-unstable-v1.xml b/protocol/wlr-data-control-unstable-v1.xml
index 3e39f2ac..75e8671b 100644
--- a/protocol/wlr-data-control-unstable-v1.xml
+++ b/protocol/wlr-data-control-unstable-v1.xml
@@ -69,15 +69,6 @@
appropriate destroy request has been called.
</description>
</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 name="zwlr_data_control_device_v1" version="2">
diff --git a/types/wlr_data_control_v1.c b/types/wlr_data_control_v1.c
index 99dd0dae..b23e37ee 100644
--- a/types/wlr_data_control_v1.c
+++ b/types/wlr_data_control_v1.c
@@ -667,10 +667,6 @@ static void manager_bind(struct wl_client *client, void *data, uint32_t version,
manager_handle_resource_destroy);
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) {