RediWM is a Wayland compositor written in Zig (OpenGL ES) that includes everything in one process
Link xkbcommon into the wlroots facade; input sources test opens Region & Language
oxydizer269c9ed5552b
diff --git a/build.zig b/build.zigindex 05a6f0f..2134b94 100644--- a/build.zig+++ b/build.zig@@ -59,6 +59,8 @@ pub fn build(b: *std.Build) void {wlr_facade.addImport("pixman", pixman);wlr_facade.addImport("xkbcommon", xkbcommon);wlr_facade.linkSystemLibrary("wlroots-0.20", .{});+ // Keyboard.setLayoutGroup calls xkbcommon directly (xkb_state_update_latched_locked).+ wlr_facade.linkSystemLibrary("xkbcommon", .{});const wlr_c = support.cTranslation(b, target, optimize, b.path("src/wlr/c.h"), &.{"wlroots-0.20"});// These public wlroots headers include protocol headers which wlrootsdiff --git a/tests/input_sources.py b/tests/input_sources.pyindex bb6a075..218b098 100644--- a/tests/input_sources.py+++ b/tests/input_sources.py@@ -12,7 +12,7 @@ reached. Covers:Fcitx follows from any signal it emits, a group change re-reads the list,and the methods go when Fcitx leaves the bus. RediWM never calls a methodthat writes Fcitx's configuration.-- Settings → Input → Input Sources: add from the registry search, reorder+- Settings → Region & Language → Input Sources: add from the registry search, reorder(the active layout keeps its place by identity), remove, "Show in taskbar".Requires PyGObject and dbus-run-session."""@@ -293,7 +293,7 @@ def test_settings(tmp):assert indicator(ipc) is None, "one layout shows no automatic indicator"ipc.action("open_control_center")ui.wait_settled("control_center")- ui.click("Input", panel="control_center")+ ui.click("Region & Language", panel="control_center")ui.wait_settled("control_center")ui.scroll_into_view("input_source_add")assert ui.find("input_source_0", panel="control_center")