shell: Damage below child surfaces on move to different workspace
authorAnder Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Thu, 10 Apr 2014 12:35:58 +0000 (15:35 +0300)
committerKristian Høgsberg <krh@bitplanet.net>
Thu, 10 Apr 2014 17:06:22 +0000 (10:06 -0700)
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

index 0fa59de..88ac308 100644 (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,