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/core/frame.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/core') diff --git a/src/core/frame.c b/src/core/frame.c index a2da9cb9..d4e09fbf 100644 --- a/src/core/frame.c +++ b/src/core/frame.c @@ -306,10 +306,10 @@ meta_frame_get_flags (MetaFrame *frame) void meta_frame_borders_clear (MetaFrameBorders *self) { - self->visible.top = 0; - self->visible.bottom = 0; - self->visible.left = 0; - self->visible.right = 0; + self->visible.top = self->invisible.top = self->total.top = 0; + self->visible.bottom = self->invisible.bottom = self->total.bottom = 0; + self->visible.left = self->invisible.left = self->total.left = 0; + self->visible.right = self->invisible.right = self->total.right = 0; } void -- cgit v1.2.1