rust-windowing/glutin

Support raw_window_handle version 0.6

collosi opened this issue · 6 comments

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.

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

There's #1582

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?

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.

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.