diff options
author | Victor Kareh <[email protected]> | 2019-05-22 12:04:04 -0400 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-06-16 18:12:44 +0200 |
commit | 291bcbf2af47016863ddf05271dae1c85a3cefd3 (patch) | |
tree | 6f72a5daed97945d9e830a0b0ac2366542d86d17 /src/include/common.h | |
parent | 0301640c98e3ff35cb5798c23e3062048940832e (diff) | |
download | marco-291bcbf2af47016863ddf05271dae1c85a3cefd3.tar.bz2 marco-291bcbf2af47016863ddf05271dae1c85a3cefd3.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/common.h')
-rw-r--r-- | src/include/common.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/include/common.h b/src/include/common.h index 03b6ca29..9d3f0cf2 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 */ |