Skip to content
Snippets Groups Projects
Commit d5e1804c authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard
Browse files

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

parent e94f091d
No related branches found
No related tags found
No related merge requests found
......@@ -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 */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment