summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Kareh <[email protected]>2019-05-22 07:16:56 -0400
committerraveit65 <[email protected]>2019-06-16 18:12:44 +0200
commit1babf371e4b390f9d9668667b61ea35678a5068c (patch)
tree9a50aadb621b81528b7d96cff704f4ae55573df9
parent2c115a1b5d93dcc3bcf4930ac76dae2833b1e56b (diff)
downloadmarco-1babf371e4b390f9d9668667b61ea35678a5068c.tar.bz2
marco-1babf371e4b390f9d9668667b61ea35678a5068c.tar.xz
constraints: initialize window->user_rect in initial placement
upstream commit: https://gitlab.gnome.org/GNOME/metacity/commit/67ddadf3
-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);
}