From a5b6a306ae1216a67d5fa1f062cfdaee4ee7b815 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Wed, 13 Nov 2013 12:47:44 +0100 Subject: [PATCH] Added note. --- src/win32_window.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/win32_window.c b/src/win32_window.c index 30fc1668..f9840021 100644 --- a/src/win32_window.c +++ b/src/win32_window.c @@ -684,6 +684,8 @@ static LRESULT CALLBACK windowProc(HWND hWnd, UINT uMsg, updateClipRect(window); } + // NOTE: This cannot use LOWORD/HIWORD recommended by MSDN, as + // those macros do not handle negative window positions correctly _glfwInputWindowPos(window, GET_X_LPARAM(lParam), GET_Y_LPARAM(lParam));