diff options
author | Victor Kareh <[email protected]> | 2019-05-23 11:48:38 -0400 |
---|---|---|
committer | Victor Kareh <[email protected]> | 2019-06-05 10:49:37 -0400 |
commit | 3ae9bd794e270249da1d59a2d41bc6ccad88ed61 (patch) | |
tree | da87170bfcde301f31c03c8a29164b7aa2c2cbc0 /src/core | |
parent | bb3c8630f4efe78f28f6ad0d7a185b1cf88395b4 (diff) | |
download | marco-3ae9bd794e270249da1d59a2d41bc6ccad88ed61.tar.bz2 marco-3ae9bd794e270249da1d59a2d41bc6ccad88ed61.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
Diffstat (limited to 'src/core')
-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 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; } |