From 1babf371e4b390f9d9668667b61ea35678a5068c Mon Sep 17 00:00:00 2001 From: Victor Kareh Date: Wed, 22 May 2019 07:16:56 -0400 Subject: constraints: initialize window->user_rect in initial placement upstream commit: https://gitlab.gnome.org/GNOME/metacity/commit/67ddadf3 --- src/core/constraints.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/core/constraints.c') 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); } -- cgit v1.2.1