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

Support raw_window_handle version 0.6 #1663

Open
collosi opened this issue Dec 28, 2023 · 5 comments
Open

Support raw_window_handle version 0.6 #1663

collosi opened this issue Dec 28, 2023 · 5 comments

Comments

@collosi
Copy link

collosi commented Dec 28, 2023

The glutin crate is currently dependent on a (slightly) out-of-date version of raw_window_handle, 0.5.2. It would be nice to have this bumped to 0.6, as I am trying to create a child window with winit's WindowBuilder::with_parent_window(). That method is only available if winit is built against raw_window_handle 0.6.

@kchibisov
Copy link
Member

you can build 0.6 handle from the 0.5 handle, it's not an issue.

@kchibisov
Copy link
Member

There's #1582

@collosi
Copy link
Author

collosi commented Dec 28, 2023

Yes, #1582 does include a bump to 0.6, so that's exactly what I need. Looks like it's just waiting for a review?

@kchibisov
Copy link
Member

kchibisov commented Dec 28, 2023

yeah, pretty much. But you don't actually need 0.6 support in glutin for what you want, you can just build 0.6 from 0.5. Or you can build 0.5 from 0.6, I don't remember the direction there's a convertion.

@kchibisov
Copy link
Member

Ah, you can enable both 0.5 and 0.6 on winit iirc, and then just export 0.5 to get 0.5 for glutin, and 0.6 for parent window stuff.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants