From 060e60f2a0ab2e9365c4a17763bc1505b0036065 Mon Sep 17 00:00:00 2001 From: Giovanni Campagna Date: Wed, 26 Feb 2014 00:21:52 +0100 Subject: [PATCH] window: fix loading the window type initially This code was lost in the window/window-x11 split. --- src/core/window.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/core/window.c b/src/core/window.c index 10a1b4087..aa7f28493 100644 --- a/src/core/window.c +++ b/src/core/window.c @@ -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);