Skip to content

Commit e3205cc

Browse files
focus window after init
1 parent d328e19 commit e3205cc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

desktop/src/window.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ impl Window {
7070

7171
pub(crate) fn show(&self) {
7272
self.winit_window.set_visible(true);
73+
self.winit_window.focus_window();
7374
}
7475

7576
pub(crate) fn request_redraw(&self) {

0 commit comments

Comments
 (0)