This series adds necessary code to support horizontal output layout configuration using weston's config file.
The output placement is relative to an output that specifies outputs it should be placed next to, either left of, or right of a given output. If there's a conflicting output on that position, it's moved to right. For detailed information on the implementation, read the patches summary. This series depends on recently sent output configuration API series, which I believe should be ready for landing [1]. You can find everything in the git repository [2]. Being in RFC stage, no documentation has been added yet untill we can agree on an approach. The code has been tested using DRM, Wayland and X11 backend, with the following config file options used for WL/X11 backends (just change WL -> X for X11 backend): [output] name=WL0 [output] name=WL1 left-of=WL0 [output] name=WL2 right-of=WL0 [output] name=WL3 left-of=WL2 right-of=WL5 [output] name=WL4 left-of=WL3 [output] name=WL5 [1]: https://lists.freedesktop.org/archives/wayland-devel/2016-September/031193.html [2]: https://github.com/krezovic/weston/commits/output-layout Armin Krezović (4): libweston: Export weston_output_transform_scale_init weston: Move output position setting to compositor compositor: Add internal output object used for layout configuration compositor: Implement horizontal output layout configuration compositor/main.c | 254 +++++++++++++++++++++++++++++++++++++++++++++++++ libweston/compositor.c | 69 ++++++++------ libweston/compositor.h | 5 + 3 files changed, 298 insertions(+), 30 deletions(-) -- 2.10.0 _______________________________________________ wayland-devel mailing list wayland-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/wayland-devel