Re: [PATCH] Use the correct width/height when transforming surfaces with viewports.

2014-04-25 Thread Kristian Høgsberg
On Tue, Apr 22, 2014 at 09:51:53AM +0300, Pekka Paalanen wrote: > On Mon, 21 Apr 2014 20:56:46 -0500 > Jason Ekstrand wrote: > > > Previously, because of the wrong width/height, > > weston_surface_to_buffer_* would return the wrong values when > > wl_viewport was used in combination with wl_surfa

Re: [PATCH] Use the correct width/height when transforming surfaces with viewports.

2014-04-21 Thread Pekka Paalanen
On Mon, 21 Apr 2014 20:56:46 -0500 Jason Ekstrand wrote: > Previously, because of the wrong width/height, > weston_surface_to_buffer_* would return the wrong values when > wl_viewport was used in combination with wl_surface.set_buffer_transform. > > Signed-off-by: Jason Ekstrand > --- > src/co

[PATCH] Use the correct width/height when transforming surfaces with viewports.

2014-04-21 Thread Jason Ekstrand
Previously, because of the wrong width/height, weston_surface_to_buffer_* would return the wrong values when wl_viewport was used in combination with wl_surface.set_buffer_transform. Signed-off-by: Jason Ekstrand --- src/compositor.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) d