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
dev
Kristian Høgsberg 11 years ago
parent d33cc73075
commit c991513483
  1. 2
      desktop-shell/shell.c

@ -4499,6 +4499,8 @@ lower_fullscreen_layer(struct desktop_shell *shell)
/* Hide the black view */ /* Hide the black view */
wl_list_remove(&shsurf->fullscreen.black_view->layer_link); wl_list_remove(&shsurf->fullscreen.black_view->layer_link);
wl_list_init(&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 */ /* Lower the view to the workspace layer */

Loading…
Cancel
Save