Wayland compositor (wlroots)
git clone https://git.lucas.co/cce-compositor.git
input: keep applying input configs after first match
Device identifiers aren't so unique after all
river/InputManager.zig | 1 -
1 file changed, 1 deletion(-)
diff --git a/river/InputManager.zig b/river/InputManager.zig
index 39af084..e08b02d 100644
--- a/river/InputManager.zig
+++ b/river/InputManager.zig
@@ -235,7 +235,6 @@ fn handleNewInput(listener: *wl.Listener(*wlr.InputDevice), device: *wlr.InputDe
for (self.input_configs.items) |*input_config| {
if (mem.eql(u8, input_config.identifier, input_device_node.data.identifier)) {
input_config.apply(&input_device_node.data);
- break; // There will only ever be one InputConfig for any unique identifier;
}
}
}