From 01284236d6b4cb7cf887931c2e48c47d02bb0693 Mon Sep 17 00:00:00 2001 From: Kyle Gretchev Date: Fri, 14 Feb 2014 23:32:44 -0500 Subject: [PATCH] glfwPostEmptyEvent win32 implementation --- src/win32_window.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/win32_window.c b/src/win32_window.c index 727fc7744..edd923ac6 100644 --- a/src/win32_window.c +++ b/src/win32_window.c @@ -1181,6 +1181,8 @@ void _glfwPlatformWaitEvents(void) void _glfwPlatformPostEmptyEvent(void) { + _GLFWwindow* window = _glfw.windowListHead; + SendMessage(window->win32.handle, 0, 0, 0); } void _glfwPlatformSetCursorPos(_GLFWwindow* window, double xpos, double ypos)