window: Implement animated cursors (using pointer surfaces)
authorAnder Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Fri, 15 Jun 2012 14:27:36 +0000 (17:27 +0300)
committerKristian Høgsberg <krh@bitplanet.net>
Fri, 15 Jun 2012 15:03:12 +0000 (11:03 -0400)
commit80620076fc7650f09d2047b9c77071f304ee6097
tree15b37da29a85a249dd6f74f8f46576515cdad84d
parent37ffc3c14b07a2fd37aeff6d16153a639bc6db89
window: Implement animated cursors (using pointer surfaces)

Since the introduction of pointer.set_cursor(), it is possible for a
client to set the surface containing the pointer image and get frame
callbacks on it thus allowing a clear implementation of animated
cursors.

This also makes the busy cursor hack of using frame callbacks on the
busy surface unnecessary.
clients/desktop-shell.c
clients/window.c
clients/window.h