backend/headless: allow configuring output size

When used with `cage` for generating screenshots, it is convenient to be
able to set the headless output size.
This commit is contained in:
Alastair Hughes 2026-06-04 23:26:23 +02:00
parent a94cd29eb1
commit 678f013980
2 changed files with 24 additions and 1 deletions

View file

@ -35,6 +35,8 @@ wlroots reads these environment variables
* *WLR_HEADLESS_OUTPUTS*: when using the headless backend specifies the number
of outputs
* *WLR_HEADLESS_OUTPUT_WIDTH*, *WLR_HEADLESS_OUTPUT_HEIGHT*: when using the
headless backend specifies the output size
## libinput backend