From ddd5b69b998a8f413ad3b7ec5ff4d54221dfc0b6 Mon Sep 17 00:00:00 2001 From: Mikkel Oscar Lyderik Date: Wed, 27 Apr 2016 11:22:29 +0200 Subject: border: clear buffer on fullscreen views This patch makes sure to clear the border buffer of fullscreen view so the border doesn't get drawn behind a fullscreen view, which would be visible if the view was transparent. --- sway/layout.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sway/layout.c') diff --git a/sway/layout.c b/sway/layout.c index 3e550927..902a521b 100644 --- a/sway/layout.c +++ b/sway/layout.c @@ -555,6 +555,7 @@ void update_geometry(swayc_t *container) { container->border_geometry = wlc_geometry_zero; container->title_bar_geometry = wlc_geometry_zero; + border_clear(container->border); } else if (container->is_floating) { // allocate border for floating window update_border_geometry_floating(container, &geometry); } else if (!container->is_floating) { // allocate border for titled window -- cgit v1.2.3