From 104d9171a92d72d55b019bd685d5b3c9afd5a3db Mon Sep 17 00:00:00 2001 From: Naveen K Date: Wed, 13 Jul 2022 17:52:19 +0530 Subject: [PATCH] Fix X11+Wayland build issues --- src/wl_window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wl_window.c b/src/wl_window.c index b8421545..04415435 100644 --- a/src/wl_window.c +++ b/src/wl_window.c @@ -2089,7 +2089,7 @@ void _glfwFocusWindowWayland(_GLFWwindow* window) void _glfwDragWindowWayland(_GLFWwindow* window) { - wl_shell_surface_move(window->wl.shellSurface, _glfw.wl.seat, _glfw.wl.pointerSerial); + xdg_toplevel_move(window->wl.xdg.toplevel, _glfw.wl.seat, _glfw.wl.pointerEnterSerial); } void _glfwSetWindowMonitorWayland(_GLFWwindow* window,