mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-04 18:26:39 +02:00
FZ: ZoneWindowDrawing is now properly initialized (#8836)
This commit is contained in:
@@ -140,8 +140,7 @@ bool ZoneWindow::Init(IZoneWindowHost* host, HINSTANCE hinstance, HMONITOR monit
|
||||
}
|
||||
|
||||
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
|
||||
// According to ShowWindow docs, we must call it with SW_SHOWNORMAL the first time
|
||||
ShowWindow(m_window.get(), SW_SHOWNORMAL);
|
||||
ShowWindow(m_window.get(), SW_HIDE);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user