Skip to content
This repository has been archived by the owner on Nov 1, 2021. It is now read-only.

scene: add a way to crop and scale surface nodes #3276

Open
emersion opened this issue Oct 20, 2021 · 0 comments
Open

scene: add a way to crop and scale surface nodes #3276

emersion opened this issue Oct 20, 2021 · 0 comments

Comments

@emersion
Copy link
Member

emersion commented Oct 20, 2021

It may be useful for a compositor to crop and/or scale surface nodes, e.g. Sway needs to crop tiled toplevels.

@kennylevinsen has suggested adding some kind of "transformation node": the cropping would be configured on that node and would apply to all child nodes. Maybe other kinds of transformations would be useful too, e.g. wl_output_transform for rotation.


wlroots has migrated to gitlab.freedesktop.org. This issue has been moved to:

https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3276

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

1 participant