diff options
-rw-r--r-- | src/window.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/window.rs b/src/window.rs index aec4b76d..55b7cd55 100644 --- a/src/window.rs +++ b/src/window.rs @@ -196,11 +196,13 @@ impl Window { Window::platform_window_init(); let window = WindowBuilder::new() .with_title(title) + .with_visibility(false) .with_transparency(true) .with_decorations(window_config.decorations()); let context = ContextBuilder::new() .with_vsync(true); let window = ::glutin::GlWindow::new(window, context, &event_loop)?; + window.show(); // Text cursor window.set_cursor(GlutinMouseCursor::Text); |