settings: make initial slave screen focus optional

This commit is contained in:
Andrzej Rybczak
2015-05-09 16:06:57 +02:00
parent 7d5c5cb20e
commit 043e309e24
5 changed files with 18 additions and 3 deletions

View File

@@ -546,6 +546,9 @@ bool Configuration::read(const std::vector<std::string> &config_paths, bool igno
}
}, defaults_to(startup_slave_screen_type, boost::none)
));
p.add("startup_slave_screen_focus", yes_no(
startup_slave_screen_focus, false
));
p.add("locked_screen_width_part", assign_default<double>(
locked_screen_width_part, 50.0, [](double v) {
return v / 100;