[PATCH] shell: Damage below child surfaces on move to different workspace

Ander Conselvan de Oliveira conselvan2 at gmail.com
Thu Apr 10 05:35:58 PDT 2014


From: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira at intel.com>

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 466ea93..b6dc975 100644
--- a/desktop-shell/shell.c
+++ b/desktop-shell/shell.c
@@ -2139,6 +2139,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,
-- 
1.8.3.2



More information about the wayland-devel mailing list