compositor: add output-decorations option for headless
This will be used by a new test. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
This commit is contained in:
parent
3746e163ab
commit
e11a51709d
|
@ -2970,6 +2970,8 @@ load_headless_backend(struct weston_compositor *c,
|
|||
false);
|
||||
weston_config_section_get_bool(section, "use-gl", &config.use_gl,
|
||||
false);
|
||||
weston_config_section_get_bool(section, "output-decorations", &config.decorate,
|
||||
false);
|
||||
|
||||
const struct weston_option options[] = {
|
||||
{ WESTON_OPTION_INTEGER, "width", 0, &parsed_options->width },
|
||||
|
|
|
@ -204,6 +204,14 @@ spaces and perform monitor profiling, and tone mapping required to enable HDR
|
|||
video modes. This extended functionality comes at the cost of heavier image
|
||||
processing and sometimes a loss of some hardware off-loading features like
|
||||
composite-bypass.
|
||||
.TP 7
|
||||
.BI "output-decorations=" true
|
||||
For headless-backend with GL-renderer only: draws output window decorations,
|
||||
similar to what wayland-backend does for floating output windows.
|
||||
Boolean, defaults to
|
||||
.BR false .
|
||||
These decorations cannot normally be screenshot. This option is useful for
|
||||
the Weston test suite only.
|
||||
.\"---------------------------------------------------------------------
|
||||
.SH "LIBINPUT SECTION"
|
||||
The
|
||||
|
|
Loading…
Reference in New Issue