Add GLFW_DND_DRAGGING window attribute

This commit is contained in:
Florian Albrechtskirchinger 2022-06-10 13:07:54 +02:00
parent 519ee68876
commit a76293fa40
No known key found for this signature in database
GPG Key ID: 19618CE9B2D4BE6D
2 changed files with 3 additions and 0 deletions

View File

@ -541,6 +541,7 @@ struct _GLFWwindow
GLFWbool floating;
GLFWbool focusOnShow;
GLFWbool mousePassthrough;
GLFWbool dndDragging;
GLFWbool shouldClose;
void* userPointer;
GLFWbool doublebuffer;

View File

@ -856,6 +856,8 @@ GLFWAPI int glfwGetWindowAttrib(GLFWwindow* handle, int attrib)
return window->focusOnShow;
case GLFW_MOUSE_PASSTHROUGH:
return window->mousePassthrough;
case GLFW_DND_DRAGGING:
return window->dndDragging;
case GLFW_TRANSPARENT_FRAMEBUFFER:
return _glfw.platform.framebufferTransparent(window);
case GLFW_RESIZABLE: