Skip to content

Commit

Permalink
focus winit window on creation (#431)
Browse files Browse the repository at this point in the history
  • Loading branch information
paul2t committed Jan 13, 2024
1 parent d7bedd2 commit 2bb2bcd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/window/winit_window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ impl Window {
};

let winit_window = window_builder.build(&event_loop)?;
winit_window.focus_window();
Self::from_winit_window(
winit_window,
event_loop,
Expand Down

0 comments on commit 2bb2bcd

Please sign in to comment.