git.lucas.co / cce-compositor
Wayland compositor (wlroots)
git clone https://git.lucas.co/cce-compositor.git

commit281cbd50d55a01f1957460e0ec2d190360592f84
parent225fa0c6fb
authorLeon Henrik Plickat <[email protected]>
date2022-02-02 00:27
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;
         }
     }
 }