From 475519d6034a94e20677db719ae3632068726f82 Mon Sep 17 00:00:00 2001 From: Pierce Thompson Date: Thu, 13 Feb 2025 14:43:29 -0500 Subject: [PATCH] fix(wm): set default hiding behaviour to cloak Documentation for the `window_hiding_behaviour` option states that it defaults to `Cloak`, however, it was actually defaulting to `Minimize`. --- komorebi/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/komorebi/src/lib.rs b/komorebi/src/lib.rs index b6c226a2..59b93b74 100644 --- a/komorebi/src/lib.rs +++ b/komorebi/src/lib.rs @@ -182,7 +182,7 @@ lazy_static! { static ref TCP_CONNECTIONS: Arc>> = Arc::new(Mutex::new(HashMap::new())); static ref HIDING_BEHAVIOUR: Arc> = - Arc::new(Mutex::new(HidingBehaviour::Minimize)); + Arc::new(Mutex::new(HidingBehaviour::Cloak)); pub static ref HOME_DIR: PathBuf = { std::env::var("KOMOREBI_CONFIG_HOME").map_or_else(|_| dirs::home_dir().expect("there is no home directory"), |home_path| { let home = PathBuf::from(&home_path);