Intercept WindowEvent::CloseRequested on the 'chat' window and call
window.hide() + api.prevent_close(). Without this, clicking the X
destroys the window — get_webview_window("chat") then returns None
and subsequent tray clicks do nothing.
|
||
|---|---|---|
| .. | ||
| watcher | ||
| commands.rs | ||
| config.rs | ||
| distro.rs | ||
| lib.rs | ||
| llm.rs | ||
| main.rs | ||
| notify.rs | ||
| patterns.rs | ||
| tray.rs | ||