Fixing linux bug where client would never actually quit (#469)

* Fixing linux bug where client would never actually quit

* Fixing window minimizing to tray

* Make an official event

---------

Co-authored-by: Robert Clabough <robert@clabough.tech>
This commit is contained in:
AgentScrubbles
2026-08-15 12:38:25 +10:00
committed by GitHub
co-authored by Robert Clabough
parent 380e3a50b4
commit 12c81eb1ac
2 changed files with 26 additions and 6 deletions
+4
View File
@@ -42,6 +42,10 @@ listen("update_state", (event) => {
state.value = event.payload as AppState;
});
listen("window_visibility_change", () => {
document.dispatchEvent(new Event("visibilitychange"));
});
setupHooks();
initialNavigation(state);