summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-10-24 15:36:27 +0200
committerinfirit <[email protected]>2014-10-24 15:40:43 +0200
commitc4d1981feed921b9044eb90aec99ea9b2269522f (patch)
treec2eb7e8cd5cc9dd4f8817fa6b80b5667c8b9abfa /src/core
parent75e7c40a57d31c6e9ac640804af9cf73df5ea44f (diff)
downloadmarco-c4d1981feed921b9044eb90aec99ea9b2269522f.tar.bz2
marco-c4d1981feed921b9044eb90aec99ea9b2269522f.tar.xz
use force_save_user_rect=TRUE for maximized windows too
Force to save user rect for maximized windows too, otherwise when launching maximized application on non left monitor it will be moved to left monitor. Ubuntu bug: https://bugs.launchpad.net/ubuntu/+source/metacity/+bug/727928 Based on metacity commit: fbfcbc5e35e35063c8ff71b399a0bf72a31852e7 From: Alberts Muktupāvels <[email protected]>
Diffstat (limited to 'src/core')
-rw-r--r--src/core/window.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/core/window.c b/src/core/window.c
index 1ff745a9..5fe9256e 100644
--- a/src/core/window.c
+++ b/src/core/window.c
@@ -2611,8 +2611,6 @@ 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