window: fix loading the window type initially
This code was lost in the window/window-x11 split.
This commit is contained in:
parent
26cf75d5a4
commit
060e60f2a0
@ -993,6 +993,9 @@ _meta_window_shared_new (MetaDisplay *display,
|
|||||||
client_type == META_WINDOW_CLIENT_TYPE_X11)
|
client_type == META_WINDOW_CLIENT_TYPE_X11)
|
||||||
update_sm_hints (window); /* must come after transient_for */
|
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)
|
if (!window->override_redirect)
|
||||||
meta_window_update_icon_now (window);
|
meta_window_update_icon_now (window);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user