open multi windows, add remote toolbar option

Signed-off-by: dignow <linlong1265@gmail.com>
This commit is contained in:
dignow
2023-10-17 13:57:06 +08:00
parent e997b148e1
commit f1d3a553d1
8 changed files with 40 additions and 25 deletions

View File

@@ -1218,14 +1218,14 @@ impl LoginConfigHandler {
self.save_config(config);
}
/// Save "use_all_my_monitors_when_connecting" ("", "Y") to the current config.
/// Save "use_all_my_displays_for_the_remote_session" ("", "Y") to the current config.
///
/// # Arguments
///
/// * `value` - The "use_all_my_monitors_when_connecting" value ("", "Y").
pub fn save_use_all_my_monitors_when_connecting(&mut self, value: String) {
/// * `value` - The "use_all_my_displays_for_the_remote_session" value ("", "Y").
pub fn save_use_all_my_displays_for_the_remote_session(&mut self, value: String) {
let mut config = self.load_config();
config.use_all_my_monitors_when_connecting = value;
config.use_all_my_displays_for_the_remote_session = value;
self.save_config(config);
}