Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Don't restrict modifiers to GBM_MAX_PLANES #34

Merged
merged 1 commit into from
Feb 6, 2024

Conversation

ids1024
Copy link
Member

@ids1024 ids1024 commented Feb 5, 2024

The modifiers argument doesn't seem to be modifiers for each plane. Rather, it's a set of modifiers that the driver will choose a preference out of. So it doesn't make sense to limit this.

The modifiers argument doesn't seem to be modifiers for each plane.
Rather, it's a set of modifiers that the driver will choose a
preference out of. So it doesn't make sense to limit this.
ids1024 added a commit to pop-os/xdg-desktop-portal-cosmic that referenced this pull request Feb 5, 2024
This is similar to what `xdg-desktop-portal-wlr` does.

This depends on Smithay/gbm.rs#34 to be able to
use any of the modifiers.
Copy link
Member

@Drakulix Drakulix left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh wow, it must been ages since I wrote this and completely forgot that I did, once I learned how these arguments work. I wonder what subtle (or not so subtle) problems this may have caused. Thanks for catching that!

@Drakulix Drakulix merged commit 9662afd into Smithay:master Feb 6, 2024
7 of 8 checks passed
ids1024 added a commit to pop-os/xdg-desktop-portal-cosmic that referenced this pull request Feb 7, 2024
This is similar to what `xdg-desktop-portal-wlr` does.

This depends on Smithay/gbm.rs#34 to be able to
use any of the modifiers.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants