Skip to content

Conversation

@Shinmera
Copy link

This fixes a confusing error in compiling the xkb compose table if LC_ALL, LC_CTYPE, or LANG are set to the empty string:

xkbcommon: ERROR: couldn't find a Compose file for locale "" (mapped to "")
GLFW: Wayland: Failed to create XKB compose table

By checking for the empty string, the locales are instead ignored and GLFW initialises properly. Other applications don't seem to have an issue with empty locale strings, so I think following their behaviour is the way to go.

This fixes a confusing error in compiling the xkb compose table if
LC_ALL, LC_CTYPE, or LANG are set to the empty string.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants