From 4de05d4b49751f45e77926b5aea6486b34bc8e88 Mon Sep 17 00:00:00 2001 From: ddenizozgur Date: Wed, 13 May 2026 04:08:05 +0300 Subject: [PATCH] vendor/x11: fix missing only_if_exists parameter in XInternAtoms --- vendor/x11/xlib/xlib_procs.odin | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/vendor/x11/xlib/xlib_procs.odin b/vendor/x11/xlib/xlib_procs.odin index 528bcaa72..80c9c5258 100644 --- a/vendor/x11/xlib/xlib_procs.odin +++ b/vendor/x11/xlib/xlib_procs.odin @@ -316,9 +316,10 @@ foreign xlib { ) -> Atom --- InternAtoms :: proc( display: ^Display, - names: [^]cstring, - count: i32, - atoms: [^]Atom, + names: [^]cstring, + count: i32, + only_if_exists: b32, + atoms_return: [^]Atom ) -> Status --- GetAtomName :: proc( display: ^Display, @@ -657,12 +658,12 @@ foreign xlib { SetGraphicsExposures :: proc(display: ^Display, gc: GC, exp: b32) --- // Graphics functions ClearArea :: proc( - display: ^Display, - window: Window, - x: i32, - y: i32, - width: u32, - height: u32, + display: ^Display, + window: Window, + x: i32, + y: i32, + width: u32, + height: u32, exp: b32, ) --- ClearWindow :: proc(