From 4ba59f707458b985cf6b09d0191b26cdf24b7f24 Mon Sep 17 00:00:00 2001 From: Johan Malm Date: Fri, 9 Sep 2022 21:51:08 +0100 Subject: [PATCH] rcxml.c: enable tap be default on non-touch devices Some trackpads do not honour tap if we only enable it on touch-devices. --- src/config/rcxml.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/rcxml.c b/src/config/rcxml.c index 141b2c3d..fd70fd45 100644 --- a/src/config/rcxml.c +++ b/src/config/rcxml.c @@ -678,7 +678,7 @@ post_processing(void) if (!wl_list_length(&rc.libinput_categories)) { /* So we still allow tap to click by default */ struct libinput_category *l = libinput_category_create(); - l->type = TOUCH_DEVICE; + l->type = DEFAULT_DEVICE; } if (!wl_list_length(&rc.workspace_config.workspaces)) { struct workspace *workspace = calloc(1, sizeof(struct workspace));