diff options
| author | gingerBill <gingerBill@users.noreply.github.com> | 2023-12-02 12:38:11 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-02 12:38:11 +0000 |
| commit | f00df0afe92ccae8d4776a8bc6f4829a87249043 (patch) | |
| tree | 4c9280256eaf41face8ff4b8179f213024bfe0eb | |
| parent | 35f21abc7b06c12c23c963afab01e4cab13125b8 (diff) | |
| parent | f169d8c3960c0e93a0c35af01814a6d892626102 (diff) | |
Merge pull request #2992 from flysand7/x11-fix
[x11/xlib]: Fix some foreign declarations
| -rw-r--r-- | vendor/x11/xlib/xlib_procs.odin | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/vendor/x11/xlib/xlib_procs.odin b/vendor/x11/xlib/xlib_procs.odin index 7abe1dcc2..47093d5e9 100644 --- a/vendor/x11/xlib/xlib_procs.odin +++ b/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( |