This commit is contained in:
Kovid Goyal 2023-11-03 20:01:33 +05:30
parent 61429c73c7
commit 114b8dff51
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

2
glfw/wl_window.c vendored
View file

@ -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);
}
}