mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2025-12-24 13:40:13 +01:00
While the --backend parameter looks like it takes a file name, it really
is selected from a list of supported strings that are then funneled
through a translation to enum weston_compositor_backend [1].
Because all backend parameters are of the form "...-backend.so", and
writing "--backend=...-backend.so" is boring, allow the --backend option
to match the backend name without "-backend.so" suffix instead.
For example, this allows to use "--backend=headless" instead of
"--backend=headless-backend.so".
Update help text and documentation. Keep the old way working for
backwards compatibility.
[1]
|
||
|---|---|---|
| .. | ||
| images | ||
| libweston | ||
| ivi-shell.rst | ||
| kiosk-shell.rst | ||
| libweston.rst | ||
| meson.build | ||
| running-weston.rst | ||
| test-suite-api.rst | ||
| test-suite.rst | ||