Remove CSD titlebar buttons, fix tray toggle and quit

- Replace GTK header bar with buttonless version to work around
  upstream bug where CSD buttons become non-interactive after
  hide()/show() (tauri-apps/tauri#11856, tauri-apps/tao#1046)
- Tray menu now toggles between "Hide Claude" / "Show Claude"
- Left-click tray icon toggles window visibility
- Fix quit from tray (use std::process::exit to bypass keep-alive)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Ole-Morten Duesund 2026-02-16 13:04:59 +01:00
commit 6b2c8ffa08
3 changed files with 62 additions and 21 deletions

1
src-tauri/Cargo.lock generated
View file

@ -451,6 +451,7 @@ dependencies = [
name = "claude-app"
version = "1.0.0"
dependencies = [
"gtk",
"serde",
"serde_json",
"tauri",