rust-x-bindings / xkbcommon-rs

bindings and safe wrappers for libxkbcommon
MIT License
20 stars 24 forks source link

Bugfix for keysym_to_utf8. #51

Closed oshaboy closed 4 months ago

oshaboy commented 5 months ago

Bugfix for keysym_to_utf8.

xkb_keysym_to_utf8 actually returns the length plus the null terminator of the string.

rtbo commented 4 months ago

Thanks for this PR. Sorry it has closed because I rebased your PR and pushed forced a "cargo fmt" fix. I will recreate it.