mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-09 12:46:47 +02:00
[FancyZones] initialize zone container window state (#8817)
This commit is contained in:
@@ -140,6 +140,10 @@ bool ZoneWindow::Init(IZoneWindowHost* host, HINSTANCE hinstance, HMONITOR monit
|
|||||||
}
|
}
|
||||||
|
|
||||||
MakeWindowTransparent(m_window.get());
|
MakeWindowTransparent(m_window.get());
|
||||||
|
// Call ShowWindow(m_window.get(), SW_SHOWNORMAL) here so we can call ShowWindow(m_window.get(), SW_SHOWNA) later
|
||||||
|
// without causing the unexpected behaviour reported in https://github.com/microsoft/PowerToys/issues/8808
|
||||||
|
ShowWindow(m_window.get(), SW_SHOWNORMAL);
|
||||||
|
ShowWindow(m_window.get(), SW_HIDE);
|
||||||
|
|
||||||
m_zoneWindowDrawing = std::make_unique<ZoneWindowDrawing>(m_window.get());
|
m_zoneWindowDrawing = std::make_unique<ZoneWindowDrawing>(m_window.get());
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user