[PTRun]WindowWalker: remove IsCloaked check (#15943)

This commit is contained in:
Heiko 2022-02-02 12:07:43 +01:00 committed by GitHub
parent 26f01431ff
commit 79c13aec6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;