Cleanup previous PR

Use a single wl_surface for the drag icon. Whther it is attached to the
top level drag or not is determined based on availability.
This commit is contained in:
Kovid Goyal
2026-02-22 15:36:10 +05:30
parent accee908aa
commit b737eaad65
10 changed files with 54 additions and 67 deletions

2
glfw/internal.h vendored
View File

@@ -837,7 +837,7 @@ void _glfwFreeDragSourceData(void);
void _glfwPlatformFreeDragSourceData(void);
void _glfwInputDragSourceRequest(_GLFWwindow* window, GLFWDragEvent *ev);
int _glfwPlatformDragDataReady(const char *mime_type);
int _glfwPlatformChangeDragImage(const GLFWimage *thumbnail, int make_toplevel);
int _glfwPlatformChangeDragImage(const GLFWimage *thumbnail);
void _glfwInputColorScheme(GLFWColorScheme, bool);