winex11.drv: Don't resize hidden windows on ConfigureNotify event.

This commit is contained in:
Piotr Caban 2015-01-08 13:44:42 +01:00 committed by Alexandre Julliard
parent b03d4c7a8f
commit e7cba8f0dc

View File

@ -1124,7 +1124,7 @@ void X11DRV_ConfigureNotify( HWND hwnd, XEvent *xev )
if ((data->window_rect.right - data->window_rect.left == cx &&
data->window_rect.bottom - data->window_rect.top == cy) ||
(IsRectEmpty( &data->window_rect ) && event->width == 1 && event->height == 1))
IsRectEmpty( &data->window_rect ))
flags |= SWP_NOSIZE;
else
TRACE( "%p resizing from (%dx%d) to (%dx%d)\n",