From 07abce4903bbbc54417fbeb4bba0072a07f8fdea Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Thu, 12 May 2005 16:51:18 +0000 Subject: Check for FL_MOVE messages with the high bit set to 1 - treat as signed coordinate data. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4337 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_win32.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/Fl_win32.cxx b/src/Fl_win32.cxx index 56acef620..0e5aeaf85 100644 --- a/src/Fl_win32.cxx +++ b/src/Fl_win32.cxx @@ -814,13 +814,13 @@ static LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lPar } break; - case WM_MOVE: + case WM_MOVE: { resize_bug_fix = window; int nx = LOWORD(lParam); int ny = HIWORD(lParam); if (nx & 0x8000) nx -= 65536; if (ny & 0x8000) ny -= 65536; - window->position(nx, ny); + window->position(nx, ny); } break; case WM_SETCURSOR: -- cgit v1.2.3