summaryrefslogtreecommitdiff
path: root/sway/handlers.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/handlers.c')
-rw-r--r--sway/handlers.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/sway/handlers.c b/sway/handlers.c
index 47af7bd5..26da5407 100644
--- a/sway/handlers.c
+++ b/sway/handlers.c
@@ -132,6 +132,14 @@ static bool handle_input_created(struct libinput_device *device) {
for (i = 0; i < config->input_configs->length; ++i) {
struct input_config *cur = config->input_configs->items[i];
if (strcasecmp(identifier, cur->identifier) == 0) {
+ sway_log(L_DEBUG, "Matched input config for %s",
+ identifier);
+ ic = cur;
+ break;
+ }
+ if (strcasecmp("*", cur->identifier) == 0) {
+ sway_log(L_DEBUG, "Matched wildcard input config for %s",
+ identifier);
ic = cur;
break;
}