Skip to content

Forward XKB errors to GLFW#2820

Open
planetmarshall wants to merge 1 commit into
glfw:masterfrom
planetmarshall:xkb-intercept-log
Open

Forward XKB errors to GLFW#2820
planetmarshall wants to merge 1 commit into
glfw:masterfrom
planetmarshall:xkb-intercept-log

Conversation

@planetmarshall

Copy link
Copy Markdown

This addresses a (fairly niche) issue in an embedded Wayland-based platform where xkb_compose_table_new_from_locale fails due to no XCompose file being present.

In this event, the default behaviour is that xkbcommon logs an error to stderr. This PR allows GLFW to intercept the error (and any other errors from libxkbcommon) and forward them to GLFW's error callback.

@dougbinks dougbinks added enhancement Feature suggestions and PRs Wayland labels Mar 1, 2026
@elmindreda elmindreda added this to Queue Mar 30, 2026
@github-project-automation github-project-automation Bot moved this to Todo in Queue Mar 30, 2026
@elmindreda elmindreda moved this from Todo to Needs Investigation in Queue Mar 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Feature suggestions and PRs Wayland

Projects

Status: Needs Investigation

Development

Successfully merging this pull request may close these issues.

3 participants