diff options
author | Victor Kareh <[email protected]> | 2019-05-21 14:46:52 -0400 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-06-16 18:12:44 +0200 |
commit | 687423bb3ed807ff1bd638e9dd71fb3a7045ebd1 (patch) | |
tree | af6f963ccef4c41834445cea44bcdb763d70890e /src/core/frame.c | |
parent | 394526ea77d79c7092dbb4050d168a87d73ef94c (diff) | |
download | marco-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.c | 9 |
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) { |