compositor: do not recompute size on pointer_set_cursor
authorPekka Paalanen <pekka.paalanen@collabora.co.uk>
Tue, 26 Nov 2013 17:19:42 +0000 (18:19 +0100)
committerKristian Høgsberg <krh@bitplanet.net>
Thu, 28 Nov 2013 22:14:08 +0000 (14:14 -0800)
commitba34165ce23b857d9b190b249309151972539bea
treeeb687f34740a45354e780ccb7ca76e061f7d8461
parent1fd9c0f81a602ff86526c1132f1f5df0d4aa7585
compositor: do not recompute size on pointer_set_cursor

This removes the calls to weston_surface_buffer_width/height() from
input.c, which are the last external calls to them.

Instead, use the cached values from weston_surface::width,height. These
have already been set by weston_surface_commit(), because that is the
only way a weston_surface can get a buffer.
src/input.c