rcxml.c: enable tap be default on non-touch devices

Some trackpads do not honour tap if we only enable it on touch-devices.
This commit is contained in:
Johan Malm 2022-09-09 21:51:08 +01:00 committed by Johan Malm
parent baf555edd0
commit 4ba59f7074

View file

@ -678,7 +678,7 @@ post_processing(void)
if (!wl_list_length(&rc.libinput_categories)) { if (!wl_list_length(&rc.libinput_categories)) {
/* So we still allow tap to click by default */ /* So we still allow tap to click by default */
struct libinput_category *l = libinput_category_create(); struct libinput_category *l = libinput_category_create();
l->type = TOUCH_DEVICE; l->type = DEFAULT_DEVICE;
} }
if (!wl_list_length(&rc.workspace_config.workspaces)) { if (!wl_list_length(&rc.workspace_config.workspaces)) {
struct workspace *workspace = calloc(1, sizeof(struct workspace)); struct workspace *workspace = calloc(1, sizeof(struct workspace));