From a3a784adae445b4f0bc965d5028ad8be9924e4fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20H=C3=B8gsberg?= Date: Wed, 13 Nov 2013 21:33:43 -0800 Subject: [PATCH] compositor: Schedule a repaint in weston_view_damage_below() We always want a repaint if the view was damaged or changed. In particular, we want weston_view_update_transform() to schedule a repaint for the old and new position if we change the view transform. --- src/compositor.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/compositor.c b/src/compositor.c index 2ca73d93..c6cf6823 100644 --- a/src/compositor.c +++ b/src/compositor.c @@ -695,6 +695,7 @@ weston_view_damage_below(struct weston_view *view) pixman_region32_union(&view->plane->damage, &view->plane->damage, &damage); pixman_region32_fini(&damage); + weston_view_schedule_repaint(view); } static void @@ -1234,8 +1235,6 @@ weston_view_unmap(struct weston_view *view) wl_list_init(&view->layer_link); wl_list_remove(&view->link); wl_list_init(&view->link); - /* We need to do this before torching the output mask */ - weston_view_schedule_repaint(view); view->output_mask = 0; weston_surface_assign_output(view->surface);