16 lines
513 B
Go
16 lines
513 B
Go
//go:build !windows
|
|
|
|
package host
|
|
|
|
// ForegroundPID is not implemented off Windows and always reports no owner.
|
|
func ForegroundPID() uint32 { return 0 }
|
|
|
|
// FocusProcessWindow is not implemented off Windows.
|
|
func FocusProcessWindow(uint32) bool { return false }
|
|
|
|
// 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 }
|