summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}