compositor: remove redundant cursor damage calls
authorPekka Paalanen <ppaalanen@gmail.com>
Mon, 13 Feb 2012 09:01:59 +0000 (11:01 +0200)
committerPekka Paalanen <ppaalanen@gmail.com>
Mon, 13 Feb 2012 09:40:39 +0000 (11:40 +0200)
commitf8c6aae688001ee55868ea2e02360e82ee464dce
treea45e15a6cac0b26bac67e4aad4f4f1b1d4e0f1d6
parentcc2f868b2e65c26acd1b86012c76f9ae72ca4595
compositor: remove redundant cursor damage calls

As weston_surface_update_transform() automatically applies before and
after damage on surface geometry change, we don't need to explicitly add
the same damage in motion_notify() for the cursor surface.

We still need the side-effect, that is scheduling a repaint.

Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
src/compositor.c