options: add --no-vsync command line option
Otherwise there is no way to override the settings in the config file. Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
@ -411,6 +411,7 @@ static const struct option longopts[] = {
|
||||
{"log-file", required_argument, NULL, 322},
|
||||
{"use-damage", no_argument, NULL, 323},
|
||||
{"no-use-damage", no_argument, NULL, 324},
|
||||
{"no-vsync", no_argument, NULL, 325},
|
||||
{"experimental-backends", no_argument, NULL, 733},
|
||||
{"monitor-repaint", no_argument, NULL, 800},
|
||||
{"diagnostics", no_argument, NULL, 801},
|
||||
@ -789,6 +790,9 @@ void get_cfg(options_t *opt, int argc, char *const *argv, bool shadow_enable,
|
||||
case 324:
|
||||
opt->use_damage = false;
|
||||
break;
|
||||
case 325:
|
||||
opt->vsync = false;
|
||||
break;
|
||||
P_CASEBOOL(733, experimental_backends);
|
||||
P_CASEBOOL(800, monitor_repaint);
|
||||
case 801: opt->print_diagnostics = true; break;
|
||||
|
Reference in New Issue
Block a user