diff --git a/src/config/rcxml.c b/src/config/rcxml.c index c57352a4..9523e0e7 100644 --- a/src/config/rcxml.c +++ b/src/config/rcxml.c @@ -445,7 +445,12 @@ get_accel_profile(const char *s) static void fill_libinput_category(char *nodename, char *content) { - if (!strcmp(nodename, "category.device.libinput")) { + /* + * Create a new profile (libinput-category) on `` + * so that the 'default' profile can be created without even providing a + * category="" attribute (same as ...) + */ + if (!strcmp(nodename, "device.libinput")) { current_libinput_category = libinput_category_create(); }