From 79c13aec6e4663588d889c6c093516b670e80428 Mon Sep 17 00:00:00 2001 From: Heiko <61519853+htcfreek@users.noreply.github.com> Date: Wed, 2 Feb 2022 12:07:43 +0100 Subject: [PATCH] [PTRun]WindowWalker: remove IsCloaked check (#15943) --- .../Components/OpenWindows.cs | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.WindowWalker/Components/OpenWindows.cs b/src/modules/launcher/Plugins/Microsoft.Plugin.WindowWalker/Components/OpenWindows.cs index 17a636659c..9e74de7069 100644 --- a/src/modules/launcher/Plugins/Microsoft.Plugin.WindowWalker/Components/OpenWindows.cs +++ b/src/modules/launcher/Plugins/Microsoft.Plugin.WindowWalker/Components/OpenWindows.cs @@ -92,10 +92,12 @@ namespace Microsoft.Plugin.WindowWalker.Components { // To hide (not add) preloaded uwp app windows that are invisible to the user we check the cloak state in DWM to be "none". (Issue #13637.) // (If user asking to see these windows again we can add an optional plugin setting in the future.) - if (!newWindow.IsCloaked) - { - windows.Add(newWindow); - } + // [@htcfreek, 2022-02-01: Removed the IsCloaked check to list windows from virtual desktops other than the current one again (#15887). In a second PR I will fix it re-implement it with improved code again.] + // if (!newWindow.IsCloaked) + // { + windows.Add(newWindow); + + // } } return true;