diff options
| -rw-r--r-- | src/Fl_win32.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_win32.cxx b/src/Fl_win32.cxx index 555abd10e..bd37dddd1 100644 --- a/src/Fl_win32.cxx +++ b/src/Fl_win32.cxx @@ -1608,7 +1608,7 @@ static LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lPar else if (!Fl_WinAPI_Window_Driver::data_for_resize_window_between_screens_.busy) wd->screen_num(news); } - window->position(nx / scale, ny / scale); + window->position(round(nx/scale), round(ny/scale)); break; } // case WM_MOVE |
