summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Kareh <[email protected]>2019-05-23 11:48:38 -0400
committerraveit65 <[email protected]>2019-06-16 18:12:44 +0200
commit2ebdf88ca21f48f25451777a4871dd854dda0d91 (patch)
tree0168c2478e92d2d8148b91c1615675b4f12bf125
parentfe5ddf58da98a9296742da70f4fc4633ea2374ad (diff)
downloadmarco-2ebdf88ca21f48f25451777a4871dd854dda0d91.tar.bz2
marco-2ebdf88ca21f48f25451777a4871dd854dda0d91.tar.xz
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
-rw-r--r--src/core/constraints.c2
1 files changed, 1 insertions, 1 deletions
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;
}