Release 3.8.2.11: idle rev-cache, port-safe Connect, single-instance tray UX.
Faster unchanged polls; orphan-core cleanup on listen ports; clearer busy-port errors; cores only from binDir; incremental server list; CSP without Google Fonts; single-instance activates existing window; close-to-tray without kill-others or balloon. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -64,14 +64,16 @@ func shutdownSignals() []os.Signal {
|
||||
return []os.Signal{os.Interrupt}
|
||||
}
|
||||
|
||||
func decorateWindow(w glaze.WebView) {
|
||||
func decorateWindow(w glaze.WebView, hideOnClose bool) {
|
||||
if w == nil {
|
||||
return
|
||||
}
|
||||
hwnd := w.Window()
|
||||
applyWindowIcon(hwnd)
|
||||
dockicon.BindWindow(hwnd)
|
||||
installCloseToHide(hwnd)
|
||||
if hideOnClose {
|
||||
installCloseToHide(hwnd)
|
||||
}
|
||||
}
|
||||
|
||||
func installCloseToHide(hwnd unsafe.Pointer) {
|
||||
|
||||
Reference in New Issue
Block a user