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

Request: Option<NonZeroU32> instead of u32 in wlr_layer::LayerSurfaceConfigure.new_size #438

Open
Koranir opened this issue Jan 22, 2024 · 0 comments

Comments

@Koranir
Copy link

Koranir commented Jan 22, 2024

pub new_size: (u32, u32),

The docs say that if the value is zero, you can choose any length for the axis you want. This seems like something Option::unwrap_or would be useful for instead of doing it manually.

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

No branches or pull requests

1 participant