Update godoc

This commit is contained in:
vcaesar 2019-02-14 11:03:34 -04:00
parent ca56f9d5e6
commit 906e2a0461
2 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -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