diff options
| -rw-r--r-- | CHANGES | 2 | ||||
| -rw-r--r-- | src/Fl_win32.cxx | 6 |
2 files changed, 7 insertions, 1 deletions
@@ -2,6 +2,8 @@ CHANGES IN FLTK 1.1.7 - Documentation fixes (STR #648, STR #692, STR #730, STR #744, STR #745) + - OpenGL windows that were completely off-screen caused + problems with some graphics cards on WIN32 (STR #831) - Multiple screen support didn't work on Windows NT and 95 (STR #821) - Fl_Scrollbar didn't compute the correct knob size when diff --git a/src/Fl_win32.cxx b/src/Fl_win32.cxx index 2dc3f2b36..56acef620 100644 --- a/src/Fl_win32.cxx +++ b/src/Fl_win32.cxx @@ -816,7 +816,11 @@ static LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lPar case WM_MOVE: resize_bug_fix = window; - window->position(LOWORD(lParam), HIWORD(lParam)); + int nx = LOWORD(lParam); + int ny = HIWORD(lParam); + if (nx & 0x8000) nx -= 65536; + if (ny & 0x8000) ny -= 65536; + window->position(nx, ny); break; case WM_SETCURSOR: |
