[metacity] Account for invisible borders when constraining modal dialogs
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [metacity] Account for invisible borders when constraining modal dialogs
- Date: Tue, 20 Jan 2015 21:37:30 +0000 (UTC)
commit 4674358f75b0be671f784349832cbdba8143bf88
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Tue Aug 16 01:05:49 2011 -0400
Account for invisible borders when constraining modal dialogs
https://bugzilla.gnome.org/show_bug.cgi?id=656619
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 a462184..4268ab6 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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]