Commit 373dc890 authored by Lauri Tulmin's avatar Lauri Tulmin Committed by Alexandre Julliard

Make minimized windows stay minimized.

parent 10e5c9e8
...@@ -769,7 +769,7 @@ BOOL X11DRV_set_window_pos( HWND hwnd, HWND insert_after, const RECT *rectWindow ...@@ -769,7 +769,7 @@ BOOL X11DRV_set_window_pos( HWND hwnd, HWND insert_after, const RECT *rectWindow
/* FIXME: copy the valid bits */ /* FIXME: copy the valid bits */
if (data->whole_window) if (data->whole_window && !(swp_flags & SWP_WINE_NOHOSTMOVE))
{ {
if ((old_style & WS_VISIBLE) && !(new_style & WS_VISIBLE)) if ((old_style & WS_VISIBLE) && !(new_style & WS_VISIBLE))
{ {
...@@ -791,7 +791,7 @@ BOOL X11DRV_set_window_pos( HWND hwnd, HWND insert_after, const RECT *rectWindow ...@@ -791,7 +791,7 @@ BOOL X11DRV_set_window_pos( HWND hwnd, HWND insert_after, const RECT *rectWindow
X11DRV_sync_window_position( display, data, swp_flags, rectClient, &new_whole_rect ); X11DRV_sync_window_position( display, data, swp_flags, rectClient, &new_whole_rect );
if (data->whole_window) if (data->whole_window && !(swp_flags & SWP_WINE_NOHOSTMOVE))
{ {
if (!(old_style & WS_VISIBLE) && (new_style & WS_VISIBLE)) if (!(old_style & WS_VISIBLE) && (new_style & WS_VISIBLE))
{ {
......
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