Re: [PATCH weston 2/8] compositor: do not recompute size on pointer_set_cursor

2013-11-28 Thread Jason Ekstrand
Pekka and I already talked about this one and I think it's the right thing to do. --Jason Ekstrand Reviewed-by: Jason Ekstrand On Nov 26, 2013 11:20 AM, "Jonny Lamb" wrote: > From: Pekka Paalanen > > This removes the calls to weston_surface_buffer_width/height() from > input.c, which are the l

[PATCH weston 2/8] compositor: do not recompute size on pointer_set_cursor

2013-11-26 Thread Jonny Lamb
From: Pekka Paalanen 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 we