From e7cba8f0dc993914a2cd3657d3909efa81bd2bb8 Mon Sep 17 00:00:00 2001 From: Piotr Caban Date: Thu, 8 Jan 2015 13:44:42 +0100 Subject: [PATCH] winex11.drv: Don't resize hidden windows on ConfigureNotify event. --- dlls/winex11.drv/event.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/winex11.drv/event.c b/dlls/winex11.drv/event.c index ea244714fc5..612951d2648 100644 --- a/dlls/winex11.drv/event.c +++ b/dlls/winex11.drv/event.c @@ -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", -- 2.11.4.GIT