Account for invisible borders when constraining modal dialogs
https://bugzilla.gnome.org/show_bug.cgi?id=656619
This commit is contained in:
parent
e4da6495d3
commit
05fee9beea
@ -762,7 +762,7 @@ constrain_modal_dialog (MetaWindow *window,
|
|||||||
y += parent->frame->rect.y;
|
y += parent->frame->rect.y;
|
||||||
|
|
||||||
meta_frame_calc_borders (parent->frame, &borders);
|
meta_frame_calc_borders (parent->frame, &borders);
|
||||||
y += borders.visible.top;
|
y += borders.total.top;
|
||||||
|
|
||||||
y += info->borders->visible.top;
|
y += info->borders->visible.top;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user