mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-06-01 14:43:55 +00:00
update unix get title type
This commit is contained in:
parent
73866c8273
commit
7aedce7c70
@ -42,8 +42,8 @@ func GetBounds(pid int32, args ...int) (int, int, int, int) {
|
||||
}
|
||||
|
||||
// internalGetTitle get the window title
|
||||
func internalGetTitle(pid int32, args ...int) string {
|
||||
var hwnd int
|
||||
func internalGetTitle(pid int32, args ...int32) string {
|
||||
var hwnd int32
|
||||
if len(args) > 0 {
|
||||
hwnd = args[0]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user