Преглед на файлове

[x11/xlib]: Fix some foreign declarations

flysand7 преди 1 година
родител
ревизия
f169d8c396
променени са 1 файла, в които са добавени 3 реда и са изтрити 2 реда
  1. 3 2
      vendor/x11/xlib/xlib_procs.odin

+ 3 - 2
vendor/x11/xlib/xlib_procs.odin

@@ -224,7 +224,7 @@ foreign xlib {
 	XGetWindowAttributes :: proc(
 		display: ^Display,
 		window:  Window,
-		attr:    XWindowAttributes,
+		attr:    ^XWindowAttributes,
 		) ---
 	XGetGeometry :: proc(
 		display:   ^Display,
@@ -251,6 +251,7 @@ foreign xlib {
 		display: ^Display,
 		window:  Window,
 		root:    ^Window,
+		child:   ^Window,
 		root_x:  ^i32,
 		root_y:  ^i32,
 		x:       ^i32,
@@ -394,7 +395,7 @@ foreign xlib {
 	XCreateColormap :: proc(
 		display:  ^Display,
 		window:   Window,
-		visual:   Visual,
+		visual:   ^Visual,
 		alloc:    ColormapAlloc,
 		) -> Colormap ---
 	XCopyColormapAndFree :: proc(