mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-05-31 06:13:55 +00:00
Update godoc
This commit is contained in:
parent
ca56f9d5e6
commit
906e2a0461
@ -23,6 +23,7 @@ func GetBounds(pid int32, args ...int) (int, int, int, int) {
|
||||
}
|
||||
|
||||
// ActivePID active the window by PID,
|
||||
//
|
||||
// If args[0] > 0 on the Windows platform via a window handle to active
|
||||
func ActivePID(pid int32, args ...int) error {
|
||||
var hwnd int
|
||||
|
@ -62,6 +62,7 @@ func ActivePIDC(pid int32, args ...int) {
|
||||
}
|
||||
|
||||
// ActivePID active the window by PID,
|
||||
//
|
||||
// If args[0] > 0 on the Windows platform via a window handle to active,
|
||||
// If args[0] > 0 on the unix platform via a xid to active
|
||||
func ActivePID(pid int32, args ...int) error {
|
||||
@ -82,7 +83,7 @@ func ActivePID(pid int32, args ...int) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// get xid from pid
|
||||
// get the xid from pid
|
||||
xid, err := GetXidFromPid(xu, pid)
|
||||
if err != nil {
|
||||
return err
|
||||
|
Loading…
Reference in New Issue
Block a user