Delete functions that no product code calls, and fold "simple plus WithOptions" pairs into the one signature callers actually use. Rename the live macOS lifecycle functions that were labelled Legacy. The architecture tests now share one source loader and reject functions without a product caller and catalog messages nobody reads. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
13 lines
404 B
Go
13 lines
404 B
Go
//go:build !windows
|
|
|
|
package host
|
|
|
|
// ForegroundPID is not implemented off Windows and always reports no owner.
|
|
func ForegroundPID() uint32 { return 0 }
|
|
|
|
// FocusProcessTreeWindow is not implemented off Windows.
|
|
func FocusProcessTreeWindow([]uint32) bool { return false }
|
|
|
|
// ForegroundInPIDs is not implemented off Windows and always reports false.
|
|
func ForegroundInPIDs([]uint32) bool { return false }
|