From f476c56f9198052f08927cad4a5dacbd471826e9 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 9 Oct 2019 07:37:03 +0530 Subject: [PATCH] Drop support for the gtk_primary_selection wayland protocol sway recently decided to start complaining when binding wp_primary_selection_device_manager interface to gtk_primary_selection name, which means we either have to maintain an in-tree version of the gtk_primary_selection protocol or drop support for sway. Sway has not quite annoyed me enough yet for the latter. See #1977 --- glfw/wl_init.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/glfw/wl_init.c b/glfw/wl_init.c index 30cb846ab..e30344857 100644 --- a/glfw/wl_init.c +++ b/glfw/wl_init.c @@ -619,8 +619,7 @@ static void registryHandleGlobal(void* data UNUSED, _glfwSetupWaylandDataDevice(); } } - else if (strcmp(interface, "zwp_primary_selection_device_manager_v1") == 0 || - strcmp(interface, "gtk_primary_selection_device_manager") == 0) + else if (strcmp(interface, "zwp_primary_selection_device_manager_v1") == 0) { _glfw.wl.primarySelectionDeviceManager = wl_registry_bind(registry, name,