Add cursor theme to rootston config

This commit is contained in:
emersion 2017-11-18 09:47:53 +01:00
parent bf5640db12
commit cd566ccd8e
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
5 changed files with 10 additions and 3 deletions

View file

@ -276,6 +276,9 @@ static int config_ini_handler(void *user, const char *section, const char *name,
} else if (strcmp(name, "geometry") == 0) {
free(config->cursor.mapped_box);
config->cursor.mapped_box = parse_geometry(value);
} else if (strcmp(name, "theme") == 0) {
free(config->cursor.theme);
config->cursor.theme = strdup(value);
} else {
wlr_log(L_ERROR, "got unknown cursor config: %s", name);
}