sway/sway/tree
Hugo Osvaldo Barrera 909a2ddb5f Centre fullscreen surfaces smaller than output
Sway renders fullscreen surfaces smaller than the output left-aligned.

From xdg-shell:

> If the surface doesn't cover the whole output, the compositor will
> position the surface in the center of the output and compensate with
> with border fill covering the rest of the output. The content of the
> border fill is undefined, but should be assumed to be in some way that
> attempts to blend into the surrounding area (e.g. solid black).

Render surfaces smaller than the output centred. Can be tested easily
with:

    weston-simple-egl -f -r

Fixes: https://github.com/swaywm/sway/issues/8845
2026-03-26 18:41:48 +01:00
..
arrange.c Avoid crashing on too many containers 2025-03-21 21:08:04 -04:00
container.c Chase wlroots!3879 2026-03-14 10:51:57 +01:00
node.c tree/node: Do not mark destroying nodes as dirty 2025-07-31 15:57:28 +02:00
output.c ext-workspace-v1: initial implementation 2026-03-24 17:25:33 +01:00
root.c commands/scratchpad: don't hide scratchpad if no pending workspace 2025-10-05 19:22:48 +02:00
view.c Centre fullscreen surfaces smaller than output 2026-03-26 18:41:48 +01:00
workspace.c ext-workspace-v1: initial implementation 2026-03-24 17:25:33 +01:00