From 77d07f690749b10d5fa4ed82fa89d9d92fc2df07 Mon Sep 17 00:00:00 2001 From: vcaesar Date: Mon, 13 Aug 2018 10:42:22 -0400 Subject: [PATCH] fix return error --- robotgo_unix.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/robotgo_unix.go b/robotgo_unix.go index 774ff23..eadd56f 100644 --- a/robotgo_unix.go +++ b/robotgo_unix.go @@ -38,7 +38,7 @@ func GetBounds(pid int32, args ...int) (int, int, int, int) { return 0, 0, 0, 0 } - internalGetBounds(int32(xid), hwnd) + return internalGetBounds(int32(xid), hwnd) } // ActivePIDC active the window by PID,