feat, open multi windows

Signed-off-by: dignow <linlong1265@gmail.com>
This commit is contained in:
dignow
2023-10-17 00:30:34 +08:00
parent f5d8e99fc7
commit bf83d552f8
47 changed files with 363 additions and 80 deletions

View File

@@ -1207,7 +1207,7 @@ impl LoginConfigHandler {
self.save_config(config);
}
/// Save reverse mouse wheel ("", "Y") to the current config.
/// Save "displays_as_individual_windows" ("", "Y") to the current config.
///
/// # Arguments
///
@@ -1218,6 +1218,17 @@ impl LoginConfigHandler {
self.save_config(config);
}
/// Save "use_all_my_monitors_when_connecting" ("", "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) {
let mut config = self.load_config();
config.use_all_my_monitors_when_connecting = value;
self.save_config(config);
}
/// Save scroll style to the current config.
///
/// # Arguments