summaryrefslogtreecommitdiff
path: root/src/core/frame.c
diff options
context:
space:
mode:
authorVictor Kareh <[email protected]>2019-05-21 14:46:52 -0400
committerraveit65 <[email protected]>2019-06-16 18:12:44 +0200
commit687423bb3ed807ff1bd638e9dd71fb3a7045ebd1 (patch)
treeaf6f963ccef4c41834445cea44bcdb763d70890e /src/core/frame.c
parent394526ea77d79c7092dbb4050d168a87d73ef94c (diff)
downloadmarco-687423bb3ed807ff1bd638e9dd71fb3a7045ebd1.tar.bz2
marco-687423bb3ed807ff1bd638e9dd71fb3a7045ebd1.tar.xz
remove common.c
upstream commit: https://gitlab.gnome.org/GNOME/metacity/commit/96d7a662
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)
{