diff options
| author | gingerBill <gingerBill@users.noreply.github.com> | 2026-01-29 14:00:22 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-29 14:00:22 +0000 |
| commit | 70059b0fba3099d0d67232ed89c268710f435a36 (patch) | |
| tree | 8a87dfa0ec3ffd2112d52eca988ab92c83366218 | |
| parent | 3dea35c157bf36a1878e06cb943d34e519b05309 (diff) | |
| parent | 59d08f3a5705c8db2fc99291af6079f0c7a30819 (diff) | |
Merge pull request #6141 from magicalhacks/x11-fixes
Minor x11/xlib bindings fixes (KeySym + Xutf8LookupString)
| -rw-r--r-- | vendor/x11/xlib/xlib_keysym.odin | 2 | ||||
| -rw-r--r-- | vendor/x11/xlib/xlib_procs.odin | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/vendor/x11/xlib/xlib_keysym.odin b/vendor/x11/xlib/xlib_keysym.odin index 61284c723..267b77b1c 100644 --- a/vendor/x11/xlib/xlib_keysym.odin +++ b/vendor/x11/xlib/xlib_keysym.odin @@ -1,7 +1,7 @@ #+build linux, freebsd, openbsd package xlib -KeySym :: enum u32 { +KeySym :: enum uint { XK_BackSpace = 0xff08, /* Back space, back char */ XK_Tab = 0xff09, XK_Linefeed = 0xff0a, /* Linefeed, LF */ diff --git a/vendor/x11/xlib/xlib_procs.odin b/vendor/x11/xlib/xlib_procs.odin index 42e49ea02..3886bbead 100644 --- a/vendor/x11/xlib/xlib_procs.odin +++ b/vendor/x11/xlib/xlib_procs.odin @@ -2068,7 +2068,7 @@ foreign xlib { Xutf8LookupString :: proc( ic: XIC, event: ^XKeyPressedEvent, - buffer_return: ^cstring, + buffer_return: cstring, bytes_buffer: i32, keysym_return: ^KeySym, status_return: ^LookupStringStatus, |