mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-11-19 07:08:48 +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:
1 parent
5503323695
commit
0f385d6245
1 file changed
+1
-2
@@ -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