From 05fee9beea8b34773f88d390b6ca387febe84593 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Tue, 16 Aug 2011 01:05:49 -0400 Subject: [PATCH] Account for invisible borders when constraining modal dialogs https://bugzilla.gnome.org/show_bug.cgi?id=656619 --- src/core/constraints.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/constraints.c b/src/core/constraints.c index fea4ff455..557a13f6b 100644 --- a/src/core/constraints.c +++ b/src/core/constraints.c @@ -762,7 +762,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; }