From 3ae9bd794e270249da1d59a2d41bc6ccad88ed61 Mon Sep 17 00:00:00 2001 From: Victor Kareh Date: Thu, 23 May 2019 11:48:38 -0400 Subject: Account for invisible borders when constraining modal dialogs https://bugzilla.gnome.org/show_bug.cgi?id=656619 upstream commit: https://gitlab.gnome.org/GNOME/metacity/commit/4674358f --- src/core/constraints.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core') diff --git a/src/core/constraints.c b/src/core/constraints.c index c886d927..a82154e0 100644 --- a/src/core/constraints.c +++ b/src/core/constraints.c @@ -818,7 +818,7 @@ constrain_modal_dialog (MetaWindow *window, y += parent->frame->rect.y; meta_frame_calc_borders (parent->frame, &borders); - y += borders.visible.top; + y += borders.total.top; y += info->borders->visible.top; } -- cgit v1.2.1