From 5f20dfec54d4c70695a30254d6d4f019ae08943f 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(+) 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