diff options
author | Victor Kareh <[email protected]> | 2019-05-21 13:15:48 -0400 |
---|---|---|
committer | Victor Kareh <[email protected]> | 2019-06-05 10:49:37 -0400 |
commit | d05c1f4677ab3dda3ad2b5964a554aec8611fdcc (patch) | |
tree | 0b78189c3d7b2ca6d01945f62d409fa4ab06ec0d /src/include/common.h | |
parent | c66b32666e48996b97e691ed002f86b6ff18dec5 (diff) | |
download | marco-d05c1f4677ab3dda3ad2b5964a554aec8611fdcc.tar.bz2 marco-d05c1f4677ab3dda3ad2b5964a554aec8611fdcc.tar.xz |
MetaFrameBorders: Add meta_frame_borders_clear
Just a quick little commit to help clean things up for when we add invisible
borders. Additionally, do a little housekeeping in preview-widget as well.
https://bugzilla.gnome.org/show_bug.cgi?id=644930
NOTE: Patch copied from metacity and adapted for marco.
upstream commit:
https://gitlab.gnome.org/GNOME/metacity/commit/7d519b3f
Diffstat (limited to 'src/include/common.h')
-rw-r--r-- | src/include/common.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/common.h b/src/include/common.h index c49ad5de..18a4e12b 100644 --- a/src/include/common.h +++ b/src/include/common.h @@ -310,6 +310,9 @@ struct _MetaFrameBorders GtkBorder visible; }; +/* sets all dimensions to zero */ +void meta_frame_borders_clear (MetaFrameBorders *self); + /* should investigate changing these to whatever most apps use */ #define META_DEFAULT_ICON_SIZE 48 #define META_MIN_ICON_SIZE 6 |