shell: Damage below child surfaces on move to different workspace

When moving from a surface from visible workspace to an invisible one
via a popup menu, the area below the menu wouldn't be repainted.

https://bugs.freedesktop.org/show_bug.cgi?id=76973
This commit is contained in:
Ander Conselvan de Oliveira 2014-04-10 15:35:58 +03:00 committed by Kristian Høgsberg
parent 4e20e9b847
commit facc0ccf06

View file

@ -2165,6 +2165,7 @@ shell_surface_update_child_surface_layers (struct shell_surface *shsurf)
* stacked above shsurf. */
wl_list_for_each_reverse(child, &shsurf->children_list, children_link) {
if (shsurf->view->layer_link.prev != &child->view->layer_link) {
weston_view_damage_below(child->view);
weston_view_geometry_dirty(child->view);
wl_list_remove(&child->view->layer_link);
wl_list_insert(shsurf->view->layer_link.prev,