Desktop: Fix missing taskbar icon on Windows (#3490)

* fix missing taskbar icon

* focus window after init
This commit is contained in:
Timon
2025-12-18 12:51:01 +00:00
committed by GitHub
parent 6733a24e47
commit 14b8cdf4cb
7 changed files with 61 additions and 29 deletions
+4
View File
@@ -456,6 +456,10 @@ impl ApplicationHandler for App {
let render_state = RenderState::new(self.window.as_ref().unwrap(), self.wgpu_context.clone());
self.render_state = Some(render_state);
if let Some(window) = &self.window.as_ref() {
window.show();
}
self.resize();
self.desktop_wrapper.init(self.wgpu_context.clone());