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/null_window.c vendored
View File

@@ -542,7 +542,7 @@ _glfwPlatformStartDrag(_GLFWwindow* window, const GLFWimage* thumbnail) {
}
void _glfwPlatformFreeDragSourceData(void) {}
int _glfwPlatformDragDataReady(const char *mime_type) { (void) mime_type; return 0; }
int _glfwPlatformChangeDragImage(const GLFWimage *thumbnail, int make_toplevel) { (void)thumbnail; (void)make_toplevel; return 0; }
int _glfwPlatformChangeDragImage(const GLFWimage *thumbnail) { (void)thumbnail; return 0; }
const char** _glfwPlatformGetDropMimeTypes(GLFWDropData* drop UNUSED, int* count)
{