[RFC] [PATCH weston v3] Implement output transformations.
Kristian Høgsberg
hoegsberg at gmail.com
Wed Aug 29 12:01:28 PDT 2012
On Sun, Aug 19, 2012 at 01:33:26AM -0600, Scott Moreau wrote:
> >
> > @@ -1117,16 +1199,17 @@ x11_compositor_create(struct wl_display *display,
> > - x += option_width ? option_width : o->width;
> > + x += (container_of(c->base.output_list.prev,
> > + struct weston_output,
> > link))->region.extents.x2;
> > +
> > output_count++;
> > if (option_count && output_count >= option_count)
> > break;
> > @@ -1134,9 +1217,11 @@ x11_compositor_create(struct wl_display *display,
> > - x += width;
> > + x += (container_of(c->base.output_list.prev,
> > + struct weston_output,
> > link))->region.extents.x2;
> > }
> >
> > c->xcb_source =
> > @@ -1160,37 +1245,77 @@ err_free:
> >
>
>
> These should be assigned '=' not '+='.
Yup, did that, and changed it to use pixman_region32_extents to get
the extents too.
Kristian
More information about the wayland-devel
mailing list