summaryrefslogtreecommitdiff
path: root/src/core/frame.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/frame.c')
-rw-r--r--src/core/frame.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/core/frame.c b/src/core/frame.c
index 070fee79..25f83ceb 100644
--- a/src/core/frame.c
+++ b/src/core/frame.c
@@ -299,6 +299,15 @@ meta_frame_get_flags (MetaFrame *frame)
}
void
+meta_frame_borders_clear (MetaFrameBorders *self)
+{
+ self->visible.top = 0;
+ self->visible.bottom = 0;
+ self->visible.left = 0;
+ self->visible.right = 0;
+}
+
+void
meta_frame_calc_borders (MetaFrame *frame,
MetaFrameBorders *borders)
{