summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorVictor Kareh <[email protected]>2019-05-22 12:04:04 -0400
committerVictor Kareh <[email protected]>2019-06-05 10:49:37 -0400
commitfb55e68268d2254a536aa88c1c23ed3c43d7b2eb (patch)
tree1a00062078c08fdabfde123deab02dc25b606725 /src/include
parenta6a4de7a32bb0bdc2d06597dd92d6e389039f7d1 (diff)
downloadmarco-fb55e68268d2254a536aa88c1c23ed3c43d7b2eb.tar.bz2
marco-fb55e68268d2254a536aa88c1c23ed3c43d7b2eb.tar.xz
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
Diffstat (limited to 'src/include')
-rw-r--r--src/include/common.h5
1 files changed, 5 insertions, 0 deletions
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 */