mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-16 11:48:06 +01:00
[FancyZones] Exclude WorkspacesEditor by default (#34466)
This commit is contained in:
@@ -15,6 +15,7 @@
|
|||||||
namespace NonLocalizable
|
namespace NonLocalizable
|
||||||
{
|
{
|
||||||
const wchar_t PowerToysAppFZEditor[] = L"POWERTOYS.FANCYZONESEDITOR.EXE";
|
const wchar_t PowerToysAppFZEditor[] = L"POWERTOYS.FANCYZONESEDITOR.EXE";
|
||||||
|
const wchar_t PowerToysWorkspacesEditor[] = L"POWERTOYS.WORKSPACESEDITOR.EXE";
|
||||||
const char SplashClassName[] = "MsoSplash";
|
const char SplashClassName[] = "MsoSplash";
|
||||||
const wchar_t CoreWindow[] = L"Windows.UI.Core.CoreWindow";
|
const wchar_t CoreWindow[] = L"Windows.UI.Core.CoreWindow";
|
||||||
const wchar_t SearchUI[] = L"SearchUI.exe";
|
const wchar_t SearchUI[] = L"SearchUI.exe";
|
||||||
@@ -200,7 +201,7 @@ bool FancyZonesWindowUtils::IsExcludedByDefault(const HWND& hwnd, const std::wst
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
static std::vector<std::wstring> defaultExcludedApps = { NonLocalizable::PowerToysAppFZEditor, NonLocalizable::CoreWindow, NonLocalizable::SearchUI };
|
static std::vector<std::wstring> defaultExcludedApps = { NonLocalizable::PowerToysAppFZEditor, NonLocalizable::PowerToysWorkspacesEditor, NonLocalizable::CoreWindow, NonLocalizable::SearchUI };
|
||||||
return (check_excluded_app(hwnd, processPath, defaultExcludedApps));
|
return (check_excluded_app(hwnd, processPath, defaultExcludedApps));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user