diff options
author | Victor Kareh <[email protected]> | 2019-05-21 14:46:52 -0400 |
---|---|---|
committer | Victor Kareh <[email protected]> | 2019-06-05 10:49:37 -0400 |
commit | 8d113709ecf09bfccf80572f863b196957d1b481 (patch) | |
tree | 5b8f7e40609481d12c63699c5b3a7f7a988e202c /src/core/frame.c | |
parent | 08cfade26efdb43e753166262f41e53cd0976509 (diff) | |
download | marco-8d113709ecf09bfccf80572f863b196957d1b481.tar.bz2 marco-8d113709ecf09bfccf80572f863b196957d1b481.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) { |