Ignore ConfigueNotify size changes while the window is iconic.

This commit is contained in:
Alexandre Julliard 2001-09-21 21:04:56 +00:00
parent f19887971a
commit 9c89290e89
1 changed files with 1 additions and 0 deletions

View File

@ -1424,6 +1424,7 @@ void X11DRV_ConfigureNotify( HWND hwnd, XConfigureEvent *event )
hwnd, rect.left, rect.top, winpos.x, winpos.y ); hwnd, rect.left, rect.top, winpos.x, winpos.y );
if ((rect.right - rect.left == winpos.cx && rect.bottom - rect.top == winpos.cy) || if ((rect.right - rect.left == winpos.cx && rect.bottom - rect.top == winpos.cy) ||
IsIconic(hwnd) ||
(IsRectEmpty( &rect ) && winpos.cx == 1 && winpos.cy == 1)) (IsRectEmpty( &rect ) && winpos.cx == 1 && winpos.cy == 1))
winpos.flags |= SWP_NOSIZE; winpos.flags |= SWP_NOSIZE;
else else