Commit 3cb23d34 authored by Alexandre Julliard's avatar Alexandre Julliard

winex11: Don't try to retrieve the X11 size on ShowWindow for zero-sized windows.

parent 308476ef
......@@ -2116,6 +2116,7 @@ UINT X11DRV_ShowWindow( HWND hwnd, INT cmd, RECT *rect, UINT swp )
if (!data || !data->whole_window || !data->managed || !data->mapped || data->iconic) return swp;
if (style & WS_MINIMIZE) return swp;
if (IsRectEmpty( rect )) return swp;
/* only fetch the new rectangle if the ShowWindow was a result of a window manager event */
......
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