fix(wm): ignore minimize calls on komorebi-bar

Hopefully I don't have to make this yet another configurable list...
This commit is contained in:
LGUG2Z
2024-10-07 16:47:56 -07:00
parent 46e6d89770
commit c6e76d2906

View File

@@ -280,7 +280,10 @@ impl Window {
}
pub fn minimize(self) {
WindowsApi::minimize_window(self.hwnd);
let exe = self.exe().unwrap_or_default();
if !exe.contains("komorebi-bar") {
WindowsApi::minimize_window(self.hwnd);
}
}
pub fn close(self) -> Result<()> {