mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-06-01 14:43:55 +00:00
Fix x11 error and ci test
This commit is contained in:
parent
fc6720ac70
commit
c8cfc1c2fe
@ -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 New Issue
Block a user