diff --git a/internal/enforce/windows.go b/internal/enforce/windows.go index 5dc4444..36ac3e5 100644 --- a/internal/enforce/windows.go +++ b/internal/enforce/windows.go @@ -15,7 +15,8 @@ type windowsGuard struct{} // MinimizeActive minimizes the current foreground window. It is best-effort: // with nothing focused it does nothing and returns nil. Stateless and per-call, -// mirroring the short-lived X11 connection model. -func (windowsGuard) MinimizeActive(context.Context) error { +// with no connection or shared state to manage. ShowWindow does not report a +// minimize failure, so this always returns nil today. +func (windowsGuard) MinimizeActive(_ context.Context) error { return winapi.MinimizeForeground() }