[mutter/wayland] window: fix loading the window type initially



commit 060e60f2a0ab2e9365c4a17763bc1505b0036065
Author: Giovanni Campagna <gcampagna src gnome org>
Date:   Wed Feb 26 00:21:52 2014 +0100

    window: fix loading the window type initially
    
    This code was lost in the window/window-x11 split.

 src/core/window.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/core/window.c b/src/core/window.c
index 10a1b40..aa7f284 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);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]