From: Pekka Paalanen Date: Wed, 8 Feb 2012 12:19:18 +0000 (+0200) Subject: shell: remove excessive damage from rotating X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=25dacab71810f5d8058af856cd4cd07633b5747e;p=profile%2Fivi%2Fweston-ivi-shell.git shell: remove excessive damage from rotating Rotating a surface should not force a full display repaint, so remove that. This change exposes a bug: weston_surface_update_transform() does not apply damage, but it does change surface geometry. While you rotate a surface, repaints do not work. Signed-off-by: Pekka Paalanen --- diff --git a/src/shell.c b/src/shell.c index 53b192c..5632c73 100644 --- a/src/shell.c +++ b/src/shell.c @@ -1034,8 +1034,6 @@ rotate_grab_motion(struct wl_grab *grab, weston_matrix_init(&surface->rotation.rotation); weston_matrix_init(&rotate->rotation); } - - weston_compositor_damage_all(surface->surface->compositor); } static void