From d5e166b0d79296b8df6cfdc3c672ac2ec8303b90 Mon Sep 17 00:00:00 2001 From: donlaci Date: Fri, 20 Dec 2024 08:31:38 +0100 Subject: [PATCH 1/2] Remove Workspaces Editor from Fancy Zone's excluded app list --- src/modules/fancyzones/FancyZonesLib/WindowUtils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/fancyzones/FancyZonesLib/WindowUtils.cpp b/src/modules/fancyzones/FancyZonesLib/WindowUtils.cpp index 230eb10be4bc..eea41f938161 100644 --- a/src/modules/fancyzones/FancyZonesLib/WindowUtils.cpp +++ b/src/modules/fancyzones/FancyZonesLib/WindowUtils.cpp @@ -185,7 +185,7 @@ bool FancyZonesWindowUtils::IsExcludedByDefault(const HWND& hwnd, const std::wst return true; } - static std::vector defaultExcludedApps = { NonLocalizable::PowerToysAppFZEditor, NonLocalizable::PowerToysWorkspacesEditor, NonLocalizable::CoreWindow, NonLocalizable::SearchUI }; + static std::vector defaultExcludedApps = { NonLocalizable::PowerToysAppFZEditor, NonLocalizable::CoreWindow, NonLocalizable::SearchUI }; return (check_excluded_app(hwnd, processPath, defaultExcludedApps)); } From beafa29e69ce9389ccb28440dc0ca615992572a3 Mon Sep 17 00:00:00 2001 From: Seraphima Date: Mon, 23 Dec 2024 15:37:25 +0100 Subject: [PATCH 2/2] removed unused string --- src/modules/fancyzones/FancyZonesLib/WindowUtils.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/modules/fancyzones/FancyZonesLib/WindowUtils.cpp b/src/modules/fancyzones/FancyZonesLib/WindowUtils.cpp index eea41f938161..72d8312c5344 100644 --- a/src/modules/fancyzones/FancyZonesLib/WindowUtils.cpp +++ b/src/modules/fancyzones/FancyZonesLib/WindowUtils.cpp @@ -15,7 +15,6 @@ namespace NonLocalizable { const wchar_t PowerToysAppFZEditor[] = L"POWERTOYS.FANCYZONESEDITOR.EXE"; - const wchar_t PowerToysWorkspacesEditor[] = L"POWERTOYS.WORKSPACESEDITOR.EXE"; const char SplashClassName[] = "MsoSplash"; const wchar_t CoreWindow[] = L"Windows.UI.Core.CoreWindow"; const wchar_t SearchUI[] = L"SearchUI.exe";