mirror of
https://github.com/go-vgo/robotgo
synced 2026-05-24 02:08:33 +00:00
Fix x11 error and ci test
This commit is contained in:
parent
fc6720ac70
commit
c8cfc1c2fe
1 changed files with 1 additions and 1 deletions
|
|
@ -63,7 +63,7 @@ void active_PID(int32 pid){
|
|||
// Handle to a AXUIElementRef
|
||||
win.AxID = AXUIElementCreateApplication(pid);
|
||||
#elif defined(USE_X11)
|
||||
win.XWin = Window(pid); // Handle to an X11 window
|
||||
win.XWin = pid; // Handle to an X11 window
|
||||
#elif defined(IS_WINDOWS)
|
||||
win.HWnd = HWND(pid); // Handle to a window HWND
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue