From 114b8dff5178f3c922f1fe68f65cc4548fb3b273 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 3 Nov 2023 20:01:33 +0530 Subject: [PATCH] ... --- glfw/wl_window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glfw/wl_window.c b/glfw/wl_window.c index 619361f8b..0dcc868e3 100644 --- a/glfw/wl_window.c +++ b/glfw/wl_window.c @@ -2041,7 +2041,7 @@ _glfwPlatformSetClipboard(GLFWClipboardType t) { // According to the Wayland spec we can only set the primary selection in response to a pointer button event // Hurray for the Wayland nanny state! zwp_primary_selection_device_v1_set_selection( - _glfw.wl.primarySelectionDevice, _glfw.wl.dataSourceForPrimarySelection, _glfw.wl.input_serial); + _glfw.wl.primarySelectionDevice, _glfw.wl.dataSourceForPrimarySelection, _glfw.wl.pointer_serial); } }