[mutter] x11/window-props: Initialize bypass compositor hint



commit 7606f79a1e18037be34ec4caaa15a2658447ac0e
Author: Rui Matos <tiagomatos gmail com>
Date:   Mon Nov 23 15:17:38 2015 +0100

    x11/window-props: Initialize bypass compositor hint
    
    If a client only ever sets the hint on window creation we'd never pick
    the value. Also, include override redirect windows since the hint is
    relevant to them too.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=758544

 src/x11/window-props.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/x11/window-props.c b/src/x11/window-props.c
index 3268bbc..0a67980 100644
--- a/src/x11/window-props.c
+++ b/src/x11/window-props.c
@@ -1843,7 +1843,7 @@ meta_display_init_window_prop_hooks (MetaDisplay *display)
     { display->atom__NET_WM_WINDOW_TYPE, META_PROP_VALUE_ATOM_LIST, reload_net_wm_window_type, LOAD_INIT | 
INCLUDE_OR | FORCE_INIT },
     { display->atom__NET_WM_STRUT,         META_PROP_VALUE_INVALID, reload_struts, NONE },
     { display->atom__NET_WM_STRUT_PARTIAL, META_PROP_VALUE_INVALID, reload_struts, NONE },
-    { display->atom__NET_WM_BYPASS_COMPOSITOR, META_PROP_VALUE_CARDINAL,  reload_bypass_compositor, NONE },
+    { display->atom__NET_WM_BYPASS_COMPOSITOR, META_PROP_VALUE_CARDINAL,  reload_bypass_compositor, 
LOAD_INIT | INCLUDE_OR },
     { display->atom__NET_WM_WINDOW_OPACITY, META_PROP_VALUE_CARDINAL, reload_window_opacity, LOAD_INIT | 
INCLUDE_OR },
     { 0 },
   };


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