diff --git a/src/Fl_win32.cxx b/src/Fl_win32.cxx index 10f2664616..f5e064a621 100644 --- a/src/Fl_win32.cxx +++ b/src/Fl_win32.cxx @@ -1451,13 +1451,12 @@ static LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lPar break; case WM_MOVE: { + if (IsIconic(hWnd)) { + break; + } resize_bug_fix = window; int nx = LOWORD(lParam); int ny = HIWORD(lParam); - bool iconized = (nx >= 0x8000 && ny >= 0x8000); - if (iconized) { - break; - } if (nx & 0x8000) nx -= 65536; if (ny & 0x8000) ny -= 65536; //fprintf(LOG,"WM_MOVE position(%d,%d) s=%.2f\n",int(nx/scale),int(ny/scale),scale);