mirror of
https://github.com/odin-lang/Odin.git
synced 2026-06-08 03:24:19 +00:00
Merge pull request #6141 from magicalhacks/x11-fixes
Minor x11/xlib bindings fixes (KeySym + Xutf8LookupString)
This commit is contained in:
2
vendor/x11/xlib/xlib_keysym.odin
vendored
2
vendor/x11/xlib/xlib_keysym.odin
vendored
@@ -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 */
|
||||
|
||||
2
vendor/x11/xlib/xlib_procs.odin
vendored
2
vendor/x11/xlib/xlib_procs.odin
vendored
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user