Get drop status updates working

This commit is contained in:
Kovid Goyal
2026-03-06 15:47:10 +05:30
parent 111b35b6a7
commit 3a30c47942
11 changed files with 125 additions and 9 deletions

3
glfw/glfw3.h vendored
View File

@@ -4976,7 +4976,8 @@ GLFWAPI GLFWscrollfun glfwSetScrollCallback(GLFWwindow* window, GLFWscrollfun ca
GLFWAPI GLFWliveresizefun glfwSetLiveResizeCallback(GLFWwindow* window, GLFWliveresizefun callback);
GLFWAPI GLFWdropeventfun glfwSetDropEventCallback(GLFWwindow *window, GLFWdropeventfun callback);
GLFWAPI void glfwRequestDropUpdate(GLFWwindow *window); // ask for update before GLFW_DROP_DROP happens
// ask for update before GLFW_DROP_DROP happens
GLFWAPI void glfwRequestDropUpdate(GLFWwindow *window);
GLFWAPI int glfwRequestDropData(GLFWwindow *window, const char *mime);
GLFWAPI void glfwEndDrop(GLFWwindow *window, GLFWDragOperationType op);
GLFWAPI GLFWdragsourcefun glfwSetDragSourceCallback(GLFWwindow* window, GLFWdragsourcefun callback);