Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

transform_changed doesn't work on sway #459

Open
danyspin97 opened this issue Jun 28, 2024 · 3 comments
Open

transform_changed doesn't work on sway #459

danyspin97 opened this issue Jun 28, 2024 · 3 comments

Comments

@danyspin97
Copy link
Contributor

Function transform_changed doesn't get called when an output gets rotated (or changes its Transform) on compositor sway, except on startup. Using the same application on hyprland, shows that the function gets called correctly.

sway.log

@kchibisov
Copy link
Member

The binded surface has v6 interface, thus compositor must use the https://wayland.app/protocols/wayland#wl_surface:event:preferred_buffer_transform , if you look into your log, you'll see that sway does send the buffer scale, but not transform, thus it's a sway bug and not client bug.

given that it works on hyprland you have a clear indication that it's a compositor bug, because hyprland supports the same `v6 interface.

@danyspin97
Copy link
Contributor Author

Thanks for the reply @kchibisov , I have forwarded the issue to sway developers.

@vyivel
Copy link

vyivel commented Jun 28, 2024

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants