Improve window filter to include start menu and Cortana search box. (#474)

Also moves GetProcessPath* functions to common, renaming both to
get_process_path.
This commit is contained in:
Bartosz Sosnowski
2019-10-07 11:12:44 +02:00
committed by GitHub
parent 298a8787d5
commit 5f8c4ea143
6 changed files with 68 additions and 55 deletions

View File

@@ -1252,7 +1252,7 @@ int ZoneWindow::GetSwitchButtonIndexFromPoint(POINT ptClient) noexcept
IFACEMETHODIMP_(void) ZoneWindow::SaveWindowProcessToZoneIndex(HWND window) noexcept
{
auto processPath = GetProcessPath(window);
auto processPath = get_process_path(window);
if (!processPath.empty())
{
DWORD zoneIndex = static_cast<DWORD>(m_activeZoneSet->GetZoneIndexFromWindow(window));