← Back to Pull requests

keyboard: don't crash on Wayland #840

Merged
KeremSoke merged 1 files (10 lines) on Nov 15, 2026 01:21 UTC
View on GitHub
KeremSoke KeremSoke commented on Nov 14, 2026 01:42 UTC
Author

The layouts tab is built on libxklavier, which needs an X server, so xkl_engine_get_instance() crashed in XInternAtom on a Wayland display.

So, skip the xkb setup and remove the layouts page when the display is not X11.

Diff: 10 lines (+9 / -1) across 1 files Reviewer: lukefromdc Review duration: 1419m
All Vouch review confidence checks passed
Residual risk 0.02 = Change Risk (0.17) × (1 − Review Confidence (0.86)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.17 · 10 lines diff across 1 files
0.17
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.91 · 3 substantive comment(s)
0.91
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
86%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size diff_size
0.143
Real PR Conversation Timeline
5 items
lukefromdc lukefromdc approved these changes on Nov 14, 2026 19:43 UTC
Approved Reviewer

This works, tested the repeat keys function and it responded to being changed. Simple and nothing changes in x11

lukefromdc lukefromdc commented on Nov 14, 2026 20:01 UTC
Contributor

Arch CI error was
2026-11-14T19:46:20.0175023Z ERROR: files left after uninstall:

lukefromdc lukefromdc commented on Nov 15, 2026 01:19 UTC
Contributor

Since we do not add any new files here and do not touch the build system, the Arch build failure in CI should not be related to this PR

lukefromdc lukefromdc commented on Nov 15, 2026 01:21 UTC
Contributor

Merging, this is very simple and just skips the keyboard layout tab (which depends on libxklavier) in the wayland case. No change in x11, merging

Reviewers
Assignees
KeremSoke KeremSoke
Labels
risk: low confidence: 86.3% reviewed
Vouch Risk Breakdown
AI-powered review risk analysis
Change Risk
Change Risk · Model 1 (XGBoost)
Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
Score: 17.3% (LOW) · Higher = larger blast radius
17.3%
Review Confidence
Review Confidence · Models 2 & 3
Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
Score: 86.3% · Lower = rushed or shallow review
86.3%
Residual Risk
Residual Risk · Core Equation
Residual = Change × (1 − Confidence)
Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
Score: 2.4% · Safe to merge
2.4%