7fdcae5d14
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
13 lines
267 B
Go
13 lines
267 B
Go
//go:build !linux
|
|
|
|
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 }
|