mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-06-02 23:23:55 +00:00
update godoc and version
This commit is contained in:
parent
fdf9448e1d
commit
cd0c3ed6d8
@ -66,7 +66,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
version string = "v0.49.0.581, Olympus Mons!"
|
version string = "v0.49.0.600, Olympus Mons!"
|
||||||
)
|
)
|
||||||
|
|
||||||
type (
|
type (
|
||||||
|
@ -42,7 +42,8 @@ func ActivePIDC(pid int32, args ...int) {
|
|||||||
internalActive(int32(xid), hwnd)
|
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
|
// If args[0] > 0 on the unix platform via a xid to active
|
||||||
func ActivePID(pid int32, args ...int) error {
|
func ActivePID(pid int32, args ...int) error {
|
||||||
if xu == nil {
|
if xu == nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user