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

Add ClockId::try_from #986

Open
i509VCB opened this issue Jan 13, 2024 · 0 comments
Open

Add ClockId::try_from #986

i509VCB opened this issue Jan 13, 2024 · 0 comments

Comments

@i509VCB
Copy link

i509VCB commented Jan 13, 2024

As a part of using the Wayland presentation time protocol, a way to convert a u32 into a ClockId would be nice.

DynamicClockId I'd question if this type of API works. The DynamicClockId actually borrows an OwnedFd, so it probably would not work with a TryFrom API.

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