Re: [PATCH weston] window: use wl_cursor_frame_and_duration() for mouse cursor updates

2015-03-04 Thread Pekka Paalanen
On Tue, 3 Mar 2015 15:26:30 -0600 Derek Foreman wrote: > Instead of a frame callback we can now use a timerfd and the time > left in the current cursor frame. This saves us from setting > the cursor at 60hz even when no updates are required. > > Signed-off-by: Derek Foreman > --- > NOTE: this

[PATCH weston] window: use wl_cursor_frame_and_duration() for mouse cursor updates

2015-03-03 Thread Derek Foreman
Instead of a frame callback we can now use a timerfd and the time left in the current cursor frame. This saves us from setting the cursor at 60hz even when no updates are required. Signed-off-by: Derek Foreman --- NOTE: this requires a wayland change I just posted... clients/window.c | 124 +++