winex11: Ignore ConfigureNotify events when a window is iconified.

This commit is contained in:
Alexandre Julliard 2008-04-04 18:22:23 +02:00
parent f294dda749
commit f6662c7bbe
1 changed files with 1 additions and 2 deletions
dlls/winex11.drv

View File

@ -549,7 +549,7 @@ void X11DRV_ConfigureNotify( HWND hwnd, XEvent *xev )
if (!hwnd) return;
if (!(data = X11DRV_get_win_data( hwnd ))) return;
if (!data->mapped) return;
if (!data->mapped || data->iconic) return;
/* Get geometry */
@ -586,7 +586,6 @@ void X11DRV_ConfigureNotify( HWND hwnd, XEvent *xev )
hwnd, rect.left, rect.top, x, y );
if ((rect.right - rect.left == cx && rect.bottom - rect.top == cy) ||
IsIconic(hwnd) ||
(IsRectEmpty( &rect ) && event->width == 1 && event->height == 1))
{
if (flags & SWP_NOMOVE) return; /* if nothing changed, don't do anything */