[FancyZones] Reduce VRAM use (#8469)

This commit is contained in:
Ivan Stošić
2020-12-08 13:31:30 +01:00
committed by GitHub
parent 9d0d5db948
commit 9a906d427a

View File

@@ -120,8 +120,7 @@ bool ZoneWindow::Init(IZoneWindowHost* host, HINSTANCE hinstance, HMONITOR monit
{ {
return false; return false;
} }
const UINT dpi = GetDpiForMonitor(m_monitor); workAreaRect = Rect(mi.rcWork);
workAreaRect = Rect(mi.rcWork, dpi);
} }
else else
{ {