Commit e7cba8f0 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

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

parent b03d4c7a
...@@ -1124,7 +1124,7 @@ void X11DRV_ConfigureNotify( HWND hwnd, XEvent *xev ) ...@@ -1124,7 +1124,7 @@ void X11DRV_ConfigureNotify( HWND hwnd, XEvent *xev )
if ((data->window_rect.right - data->window_rect.left == cx && if ((data->window_rect.right - data->window_rect.left == cx &&
data->window_rect.bottom - data->window_rect.top == cy) || 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; flags |= SWP_NOSIZE;
else else
TRACE( "%p resizing from (%dx%d) to (%dx%d)\n", TRACE( "%p resizing from (%dx%d) to (%dx%d)\n",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment