diff options
author | Jasper St. Pierre <jstpierre@mecheye.net> | 2011-08-16 01:05:49 -0400 |
---|---|---|
committer | Alberts Muktupāvels <alberts.muktupavels@gmail.com> | 2015-01-19 15:17:49 +0200 |
commit | 0722248c2284ebb6019cb163aa29470b89bba85d (patch) | |
tree | c5d6cc0b6232fcdc964af0128a3b19fc79e8b836 | |
parent | 2716bdb5dfb3f7f147b47618479bf425f941d979 (diff) | |
download | metacity-0722248c2284ebb6019cb163aa29470b89bba85d.tar.gz |
Account for invisible borders when constraining modal dialogs
https://bugzilla.gnome.org/show_bug.cgi?id=656619
-rw-r--r-- | src/core/constraints.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/constraints.c b/src/core/constraints.c index a4621848..4268ab64 100644 --- a/src/core/constraints.c +++ b/src/core/constraints.c @@ -770,7 +770,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; } |