Skip to content

Commit

Permalink
Fix applying layouts on startup (second monitor)
Browse files Browse the repository at this point in the history
  • Loading branch information
stefansjfw authored and SeraphimaZykova committed Feb 10, 2020
1 parent 4415582 commit 5c70bdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/fancyzones/lib/ZoneWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ void ZoneWindow::CalculateZoneSet() noexcept
const auto& activeDeviceId = fancyZonesData.GetActiveDeviceId();
const auto& activeZoneSet = deviceInfoMap.at(m_uniqueId).activeZoneSet;

if (activeDeviceId != m_uniqueId)
if (!activeDeviceId.empty() && activeDeviceId != m_uniqueId)
{
return;
}
Expand Down

0 comments on commit 5c70bdb

Please sign in to comment.