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
This commit is contained in:
Kristian Høgsberg 2014-05-09 16:24:07 -07:00
parent d33cc73075
commit c991513483

View file

@ -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 */