mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-03-18 07:23:57 +01:00
fix(wm): restore hidden windows correctly
Fixes the issue talked on Discord[1] here where when using `Hide` as hiding behaviour some windows were hidden and never restored. The same would happen if using stacks with apps that matched a tray_and_multi_window_identifiers rule. [1]: https://discord.com/channels/898554690126630914/898554690608967786/1301581412008202298
This commit is contained in:
@@ -228,8 +228,7 @@ impl WindowManager {
|
||||
.is_some();
|
||||
|
||||
if !window.is_window()
|
||||
|| should_act
|
||||
|| !programmatically_hidden_hwnds.contains(&window.hwnd)
|
||||
|| (should_act && !programmatically_hidden_hwnds.contains(&window.hwnd))
|
||||
{
|
||||
hide = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user