> > @@ -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 '+='.
_______________________________________________ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/wayland-devel