mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-06-02 23:23:55 +00:00
fix x11 error
This commit is contained in:
parent
e1769c70dc
commit
5c7cc1fb1d
@ -1,4 +1,5 @@
|
|||||||
// #include "../base/os.h"
|
// #include "../base/os.h"
|
||||||
|
Bounds get_client(uintptr pid, uintptr isHwnd);
|
||||||
|
|
||||||
Bounds get_bounds(uintptr pid, uintptr isHwnd){
|
Bounds get_bounds(uintptr pid, uintptr isHwnd){
|
||||||
// Check if the window is valid
|
// Check if the window is valid
|
||||||
@ -99,8 +100,8 @@ Bounds get_client(uintptr pid, uintptr isHwnd){
|
|||||||
win.XWin = (Window)pid;
|
win.XWin = (Window)pid;
|
||||||
|
|
||||||
// Property variables
|
// Property variables
|
||||||
MData root, parent;
|
Window root, parent;
|
||||||
MData* children;
|
Window* children;
|
||||||
unsigned int count;
|
unsigned int count;
|
||||||
int32 x = 0, y = 0;
|
int32 x = 0, y = 0;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user