diff options
Diffstat (limited to 'rootston/config.c')
| -rw-r--r-- | rootston/config.c | 8 | 
1 files changed, 8 insertions, 0 deletions
| diff --git a/rootston/config.c b/rootston/config.c index 59adf13c..db77506f 100644 --- a/rootston/config.c +++ b/rootston/config.c @@ -176,6 +176,9 @@ static void config_handle_cursor(struct roots_config *config,  	} else if (strcmp(name, "theme") == 0) {  		free(cc->theme);  		cc->theme = strdup(value); +	} else if (strcmp(name, "default-image") == 0) { +		free(cc->default_image); +		cc->default_image = strdup(value);  	} else {  		wlr_log(L_ERROR, "got unknown cursor config: %s", name);  	} @@ -213,6 +216,10 @@ static void config_handle_keyboard(struct roots_config *config,  		kc->variant = strdup(value);  	} else if (strcmp(name, "options") == 0) {  		kc->options = strdup(value); +	} else if (strcmp(name, "repeat-rate") == 0) { +		kc->repeat_rate = strtol(value, NULL, 10); +	} else if (strcmp(name, "repeat-delay") == 0) { +		kc->repeat_delay = strtol(value, NULL, 10);  	} else {  		wlr_log(L_ERROR, "got unknown keyboard config: %s", name);  	} @@ -450,6 +457,7 @@ void roots_config_destroy(struct roots_config *config) {  		free(cc->mapped_output);  		free(cc->mapped_box);  		free(cc->theme); +		free(cc->default_image);  		free(cc);  	} | 
