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

Kristian Høgsberg hoegsberg at gmail.com
Thu Apr 10 10:17:43 PDT 2014


On Thu, Apr 10, 2014 at 03:35:58PM +0300, Ander Conselvan de Oliveira wrote:
> 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

Cool, that makes sense, fixes the problem here.

Kristian

> ---
>  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
> 
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel


More information about the wayland-devel mailing list