-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
B - bugDang, that shouldn't have happenedDang, that shouldn't have happenedC - waiting on authorWaiting for a response or another PRWaiting for a response or another PRD - hardLikely harder than most tasks hereLikely harder than most tasks hereDS - windowsP - normalGreat to haveGreat to have
Milestone
Description
On Windows the following code opens a window but the code hangs at the window.show() line.
extern crate winit;
fn main() {
let mut events_loop = winit::EventsLoop::new();
let window = winit::WindowBuilder::new().with_visibility(false).build(&events_loop).unwrap();
window.show();
events_loop.run_forever(|event| {
match event {
winit::Event::WindowEvent { event: winit::WindowEvent::Closed, .. } => winit::ControlFlow::Break,
_ => winit::ControlFlow::Continue,
}
});
}
Metadata
Metadata
Assignees
Labels
B - bugDang, that shouldn't have happenedDang, that shouldn't have happenedC - waiting on authorWaiting for a response or another PRWaiting for a response or another PRD - hardLikely harder than most tasks hereLikely harder than most tasks hereDS - windowsP - normalGreat to haveGreat to have