From fb55e68268d2254a536aa88c1c23ed3c43d7b2eb Mon Sep 17 00:00:00 2001 From: Victor Kareh Date: Wed, 22 May 2019 12:04:04 -0400 Subject: MetaFrameBorders: add invisible borders This just adds the invisible border field and populates it with data but doesn't use it in any way. Based on mutter commit: https://git.gnome.org/browse/mutter/commit/?id=a1a2527c75ab0c135f89396ea036336fb67ac538 upstream commit: https://gitlab.gnome.org/GNOME/metacity/commit/bf02c7c3 --- src/include/common.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/include/common.h') diff --git a/src/include/common.h b/src/include/common.h index 18a4e12b..85e4f630 100644 --- a/src/include/common.h +++ b/src/include/common.h @@ -308,6 +308,11 @@ struct _MetaFrameBorders * and an outer portion that is invisible but responds to events. */ GtkBorder visible; + GtkBorder invisible; + + /* For convenience, we have a "total" border which is equal to the sum + * of the two borders above. */ + GtkBorder total; }; /* sets all dimensions to zero */ -- cgit v1.2.1