add alt_click

This commit is contained in:
galister
2024-10-22 05:52:54 +09:00
parent 83bf0fff5d
commit cf03beef07
4 changed files with 35 additions and 4 deletions

View File

@@ -129,6 +129,10 @@ fn def_osc_port() -> u16 {
9000
}
fn def_empty_vec_string() -> Vec<String> {
Vec::new()
}
fn def_screens() -> AStrSet {
AStrSet::new()
}
@@ -273,6 +277,12 @@ pub struct GeneralConfig {
#[serde(default = "def_false")]
pub space_rotate_unlocked: bool,
#[serde(default = "def_empty_vec_string")]
pub alt_click_down: Vec<String>,
#[serde(default = "def_empty_vec_string")]
pub alt_click_up: Vec<String>,
}
impl GeneralConfig {