mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-06-04 16:03:54 +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
|
// internalGetTitle get the window title
|
||||||
func internalGetTitle(pid int32, args ...int) string {
|
func internalGetTitle(pid int32, args ...int32) string {
|
||||||
var hwnd int
|
var hwnd int32
|
||||||
if len(args) > 0 {
|
if len(args) > 0 {
|
||||||
hwnd = args[0]
|
hwnd = args[0]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user