From 5c7cc1fb1d21ff1aeb679250418059255c37cb83 Mon Sep 17 00:00:00 2001 From: vcaesar Date: Mon, 13 Aug 2018 09:35:45 -0400 Subject: [PATCH] fix x11 error --- window/win_sys.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/window/win_sys.h b/window/win_sys.h index 177c9f5..9eae232 100644 --- a/window/win_sys.h +++ b/window/win_sys.h @@ -1,4 +1,5 @@ // #include "../base/os.h" +Bounds get_client(uintptr pid, uintptr isHwnd); Bounds get_bounds(uintptr pid, uintptr isHwnd){ // Check if the window is valid @@ -99,8 +100,8 @@ Bounds get_client(uintptr pid, uintptr isHwnd){ win.XWin = (Window)pid; // Property variables - MData root, parent; - MData* children; + Window root, parent; + Window* children; unsigned int count; int32 x = 0, y = 0;