From c991513483ec448408be47dbf806c5b300de2b07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20H=C3=B8gsberg?= Date: Fri, 9 May 2014 16:24:07 -0700 Subject: [PATCH] desktop-shell: Damage the black view when we remove it We should be using weston_view_unmap() here, or maybe just destroying the black view, but let's do a minimal, safe fix for the 1.5 release. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=78501 --- desktop-shell/shell.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/desktop-shell/shell.c b/desktop-shell/shell.c index db55ea9c..84f5c838 100644 --- a/desktop-shell/shell.c +++ b/desktop-shell/shell.c @@ -4499,6 +4499,8 @@ lower_fullscreen_layer(struct desktop_shell *shell) /* Hide the black view */ wl_list_remove(&shsurf->fullscreen.black_view->layer_link); wl_list_init(&shsurf->fullscreen.black_view->layer_link); + weston_view_damage_below(shsurf->fullscreen.black_view); + } /* Lower the view to the workspace layer */