Commit d5e1804c authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

SetParent needs to clear 'managed' flag for former top level window.

parent e94f091d
......@@ -1139,6 +1139,11 @@ HWND X11DRV_SetParent( HWND hwnd, HWND parent )
/* destroy the old X windows */
destroy_whole_window( display, data );
destroy_icon_window( display, data );
if (data->managed)
{
data->managed = FALSE;
RemovePropA( data->hwnd, managed_atom );
}
}
}
else /* new top level window */
......
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