summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVictor Kareh <[email protected]>2019-05-22 07:16:56 -0400
committerVictor Kareh <[email protected]>2019-06-05 10:49:37 -0400
commit5f20dfec54d4c70695a30254d6d4f019ae08943f (patch)
tree686e4cbc4dff1d11e1ff1d3ed1eb6ab0e4f95982 /src
parent7bcd852276e8d7e941144760c836e9eefffb1107 (diff)
downloadmarco-5f20dfec54d4c70695a30254d6d4f019ae08943f.tar.bz2
marco-5f20dfec54d4c70695a30254d6d4f019ae08943f.tar.xz
constraints: initialize window->user_rect in initial placement
upstream commit: https://gitlab.gnome.org/GNOME/metacity/commit/67ddadf3
Diffstat (limited to 'src')
-rw-r--r--src/core/constraints.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/constraints.c b/src/core/constraints.c
index 1eaed498..8f7e0d7e 100644
--- a/src/core/constraints.c
+++ b/src/core/constraints.c
@@ -590,6 +590,7 @@ place_window_if_needed(MetaWindow *window,
window->maximize_horizontally_after_placement = FALSE;
window->maximize_vertically_after_placement = FALSE;
}
+ window->user_rect = info->current;
if (window->minimize_after_placement)
meta_window_minimize (window);
}