//go:build !linux && !windows package enforce import "context" // NewGuard returns a no-op guard on platforms without the X11 adapter. func NewGuard() Guard { return noopGuard{} } type noopGuard struct{} func (noopGuard) MinimizeActive(context.Context) error { return nil }