From 860f7a6dbc81272c561a1b8d045e5ff61ea0e66a Mon Sep 17 00:00:00 2001 From: Victor Kareh Date: Tue, 21 May 2019 13:15:48 -0400 Subject: 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 --- src/include/common.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/include') diff --git a/src/include/common.h b/src/include/common.h index fce641c1..03b6ca29 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_ICON_WIDTH 48 #define META_ICON_HEIGHT 48 -- cgit v1.2.1