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:
@@ -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 */
|
||||||
|
|||||||
Reference in New Issue
Block a user