Remove unused fields

This commit is contained in:
project-repo 2021-09-16 14:08:58 +02:00
commit dec38bd8f0
2 changed files with 4 additions and 4 deletions

View file

@ -59,8 +59,8 @@ struct cg_input_config {
int natural_scroll;
float pointer_accel;
float scroll_factor;
int repeat_delay;
int repeat_rate;
/*int repeat_delay;
int repeat_rate;*/
int scroll_button;
int scroll_method;
int send_events;

View file

@ -151,9 +151,9 @@ parse_input_config(char **saveptr, char **errstr) {
cfg->scroll_button = INT_MIN;
cfg->scroll_method = INT_MIN;
cfg->left_handed = INT_MIN;
cfg->repeat_delay = INT_MIN;
/*cfg->repeat_delay = INT_MIN;
cfg->repeat_rate = INT_MIN;
/*cfg->xkb_numlock = INT_MIN;
cfg->xkb_numlock = INT_MIN;
cfg->xkb_capslock = INT_MIN;
cfg->xkb_file_is_set = false;
wl_list_init(&cfg->tools);*/