[metacity] Revert "use force_save_user_rect=TRUE for maximized windows too"



commit c87ca16ac6330fedefa360dd82280f3c9c2a085e
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Mon Jan 19 02:39:29 2015 +0200

    Revert "use force_save_user_rect=TRUE for maximized windows too"
    
    This reverts commit fbfcbc5e35e35063c8ff71b399a0bf72a31852e7.

 src/core/window.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/core/window.c b/src/core/window.c
index 1682d70..d44b0f5 100644
--- a/src/core/window.c
+++ b/src/core/window.c
@@ -2564,6 +2564,8 @@ meta_window_maximize_internal (MetaWindow        *window,
     window->maximized_horizontally || maximize_horizontally;
   window->maximized_vertically =
     window->maximized_vertically   || maximize_vertically;
+  if (maximize_horizontally || maximize_vertically)
+    window->force_save_user_rect = FALSE;
 
   /* Fix for #336850: If the frame shape isn't reapplied, it is
    * possible that the frame will retains its rounded corners. That


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