]> git.mdlowis.com Git - proto/labwc.git/commitdiff
rcxml.c: enable tap be default on non-touch devices
authorJohan Malm <jgm323@gmail.com>
Fri, 9 Sep 2022 20:51:08 +0000 (21:51 +0100)
committerJohan Malm <johanmalm@users.noreply.github.com>
Sun, 11 Sep 2022 20:26:32 +0000 (21:26 +0100)
Some trackpads do not honour tap if we only enable it on touch-devices.

src/config/rcxml.c

index 141b2c3dd4e6671eb3e5888ad03f2afe18a5a80e..fd70fd458fb22f30d8e653629d8a8da7475808b5 100644 (file)
@@ -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));