From 53f84b76f36a12a50b7978158408bf61833e7b8f Mon Sep 17 00:00:00 2001 From: Leon Henrik Plickat Date: Wed, 2 Feb 2022 00:27:29 +0100 Subject: [PATCH] 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; } } }