aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeon Henrik Plickat <leonhenrik.plickat@stud.uni-goettingen.de>2022-02-02 00:27:29 +0100
committerIsaac Freund <mail@isaacfreund.com>2022-02-05 18:52:16 +0100
commit53f84b76f36a12a50b7978158408bf61833e7b8f (patch)
treebafbfa3a5e350beca02934e37faa2f3955a77746
parent147d9c2f90fc4a778d48d1517fc784a0809c51cb (diff)
downloadriver-53f84b76f36a12a50b7978158408bf61833e7b8f.tar.gz
river-53f84b76f36a12a50b7978158408bf61833e7b8f.tar.xz
input: keep applying input configs after first match
Device identifiers aren't so unique after all
-rw-r--r--river/InputManager.zig1
1 files changed, 0 insertions, 1 deletions
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;
}
}
}