[PATCH wayland] cursor: add wl_cursor_frame_and_duration

Pekka Paalanen ppaalanen at gmail.com
Wed Mar 4 23:42:11 PST 2015


On Wed,  4 Mar 2015 14:30:41 -0600
Derek Foreman <derekf at osg.samsung.com> wrote:

> It's useful to know how long the current cursor frame should be displayed
> so we can wait that long to change it.
> 
> Signed-off-by: Derek Foreman <derekf at osg.samsung.com>
> ---
> differences from v1:
>  Add comment about 0 durations
>  document return of 0 duration as unchanging image
>  make sure duration calculation doesn't wrap around or return 0
>  fix obvious pointer brain damage
> 
> 
>  cursor/wayland-cursor.c | 45 ++++++++++++++++++++++++++++++++++++++++++---
>  cursor/wayland-cursor.h |  4 ++++
>  2 files changed, 46 insertions(+), 3 deletions(-)

R-b me, pushed:
   8b2fbf8..4908bf0  master -> master


Thanks,
pq


More information about the wayland-devel mailing list