slint
slint copied to clipboard
Update winit and glutin dependencies
Hm, I get thread 'main' panicked at 'glx function was not loaded', /home/simon/src/slint/target/debug/build/glutin_glx_sys-09982e0fb0b2c16d/out/glx_bindings.rs:374:13 when launching slint-viewer against X11.
Rebased.
I cannot reproduce your panic message, but instead, i got this panic when closing the viewer on X11:
thread 'main' panicked at 'Creating EventLoop multiple times is not supported.', /home/olivier/.cargo/registry/src/github.com-1ecc6299db9ec823/winit-0.27.2/src/event_loop.rs:106:13
The problem seems to be that we hide the window after the event loop is destroyed. And then there is a event_loop.event_loop_proxy().send_event(crate::event_loop::CustomEvent::WindowHidden) that re-creates the event loop
I can't reproduce the GLX issue anymore either. There's been a glutin maintenance release in the meantime, so perhaps that solved it.