Release 3.8.2.7: Windows taskbar/tray sea-wave icon when connected.
ci / test (macos-latest) (push) Waiting to run
ci / test (ubuntu-latest) (push) Waiting to run
ci / test (windows-latest) (push) Waiting to run

Match macOS Dock behavior using the same idle/connected glyph assets.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
M4
2026-08-01 16:45:55 +03:00
co-authored by Cursor
parent 5d7c96f7fc
commit fed1ace33e
20 changed files with 395 additions and 24 deletions
+6
View File
@@ -12,6 +12,9 @@ import (
"github.com/ebitengine/purego/objc"
)
// BindWindow is a no-op on macOS (Dock uses NSApplication icon image).
func BindWindow(h unsafe.Pointer) { _ = h }
//go:embed icon_idle.png
var iconIdlePNG []byte
@@ -103,4 +106,7 @@ func SetConnected(connected bool) {
}
// AppKit must run on the main thread (glaze owns it).
app.Send(selPerf, selSet, img, false)
if OnIconChange != nil {
OnIconChange(connected)
}
}