window: Manage after setting the OR special case properties

This commit is contained in:
Jasper St. Pierre 2014-07-10 17:08:14 -04:00
parent bee97ab6a7
commit 740e7ddd69

View File

@ -948,8 +948,6 @@ _meta_window_shared_new (MetaDisplay *display,
window->opacity = 0xFF;
META_WINDOW_GET_CLASS (window)->manage (window);
if (window->override_redirect)
{
window->decorated = FALSE;
@ -960,6 +958,8 @@ _meta_window_shared_new (MetaDisplay *display,
window->has_resize_func = FALSE;
}
META_WINDOW_GET_CLASS (window)->manage (window);
if (!window->override_redirect)
meta_window_update_icon_now (window);