Release 3.8.2.7: Windows taskbar/tray sea-wave icon when connected.
Match macOS Dock behavior using the same idle/connected glyph assets. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user