From cd0c3ed6d81e92f995d8d61e8c370ce700bd6123 Mon Sep 17 00:00:00 2001 From: vcaesar Date: Tue, 10 Jul 2018 23:13:27 +0800 Subject: [PATCH] update godoc and version --- robotgo.go | 2 +- robotgo_unix.go | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/robotgo.go b/robotgo.go index aea1f56..0572ad6 100644 --- a/robotgo.go +++ b/robotgo.go @@ -66,7 +66,7 @@ import ( ) const ( - version string = "v0.49.0.581, Olympus Mons!" + version string = "v0.49.0.600, Olympus Mons!" ) type ( diff --git a/robotgo_unix.go b/robotgo_unix.go index 7b92f07..9c81ee2 100644 --- a/robotgo_unix.go +++ b/robotgo_unix.go @@ -42,7 +42,8 @@ func ActivePIDC(pid int32, args ...int) { internalActive(int32(xid), hwnd) } -// ActivePID makes the window of the PID the active window +// 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 { if xu == nil {