fix: ensure window gains focus on launch

This commit is contained in:
Bohdan Triapitsyn
2025-12-08 00:39:32 +02:00
parent 07d8c7eedd
commit 2cfcdfe95d
+1
View File
@@ -287,6 +287,7 @@ fn main() {
} }
let _ = window.show(); let _ = window.show();
let _ = window.set_focus();
} }
let runtime = DesktopRuntime::initialize_sync()?; let runtime = DesktopRuntime::initialize_sync()?;