[mutter] window-props: Fix frame update on hide-titlebar-when-maximized changes



commit 891cab3bb320fbaf4de91a2b916e4e32aecaf70d
Author: Florian Müllner <fmuellner gnome org>
Date:   Thu Apr 27 22:50:13 2017 +0200

    window-props: Fix frame update on hide-titlebar-when-maximized changes
    
    Since we started caching frame borders in commit b4036e061, we need to
    invalidate the cache for changes of the GTK_HIDE_TITLEBAR_WHEN_MAXIMIZED
    property to take effect immediately.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=781862

 src/x11/window-props.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/x11/window-props.c b/src/x11/window-props.c
index 29d6007..2f4dfeb 100644
--- a/src/x11/window-props.c
+++ b/src/x11/window-props.c
@@ -1721,6 +1721,7 @@ reload_gtk_hide_titlebar_when_maximized (MetaWindow    *window,
   if (META_WINDOW_MAXIMIZED (window))
     {
       meta_window_queue (window, META_QUEUE_MOVE_RESIZE);
+      meta_window_frame_size_changed (window);
 
       if (window->frame)
         meta_frame_update_style (window->frame);


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