From facc0ccf06850ec37972ed3002ae6783ef4cfbef Mon Sep 17 00:00:00 2001 From: Ander Conselvan de Oliveira Date: Thu, 10 Apr 2014 15:35:58 +0300 Subject: [PATCH] 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 --- desktop-shell/shell.c | 1 + 1 file changed, 1 insertion(+) diff --git a/desktop-shell/shell.c b/desktop-shell/shell.c index 0fa59de..88ac308 100644 --- a/desktop-shell/shell.c +++ b/desktop-shell/shell.c @@ -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, -- 2.7.4