mirror of
https://github.com/go-vgo/robotgo
synced 2026-05-24 10:19:01 +00:00
update unix get title type
This commit is contained in:
parent
73866c8273
commit
7aedce7c70
1 changed files with 2 additions and 2 deletions
|
|
@ -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 a new issue