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 <ppaalanen@gmail.com>
This commit is contained in:
Pekka Paalanen 2012-02-08 14:19:18 +02:00
parent 6f82cf5dc5
commit 25dacab718

View File

@ -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