window: fix loading the window type initially

This code was lost in the window/window-x11 split.
This commit is contained in:
Giovanni Campagna 2014-02-26 00:21:52 +01:00
parent 26cf75d5a4
commit 060e60f2a0

View File

@ -993,6 +993,9 @@ _meta_window_shared_new (MetaDisplay *display,
client_type == META_WINDOW_CLIENT_TYPE_X11)
update_sm_hints (window); /* must come after transient_for */
if (client_type == META_WINDOW_CLIENT_TYPE_X11)
meta_window_x11_update_net_wm_type (window);
if (!window->override_redirect)
meta_window_update_icon_now (window);