mirror of
https://github.com/reactos/wine.git
synced 2024-12-04 17:56:51 +00:00
winex11.drv: Don't resize hidden windows on ConfigureNotify event.
This commit is contained in:
parent
b03d4c7a8f
commit
e7cba8f0dc
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user