FZ: remove RestoreOrginalTransparency() from ZoneWindow::~ZoneWindow() and from ZoneWindow::MoveSizeEnter()

This commit is contained in:
yuyoyuppe 2020-04-28 13:12:37 +03:00 committed by Andrey Nekrasov
parent df61ea0a62
commit bb82a9bcf4

View File

@ -292,8 +292,6 @@ ZoneWindow::ZoneWindow(HINSTANCE hinstance)
ZoneWindow::~ZoneWindow() ZoneWindow::~ZoneWindow()
{ {
RestoreOrginalTransparency();
Gdiplus::GdiplusShutdown(gdiplusToken); Gdiplus::GdiplusShutdown(gdiplusToken);
} }
@ -354,8 +352,6 @@ IFACEMETHODIMP ZoneWindow::MoveSizeEnter(HWND window, bool dragEnabled) noexcept
if (m_host->isMakeDraggedWindowTransparentActive()) if (m_host->isMakeDraggedWindowTransparentActive())
{ {
RestoreOrginalTransparency();
draggedWindowExstyle = GetWindowLong(window, GWL_EXSTYLE); draggedWindowExstyle = GetWindowLong(window, GWL_EXSTYLE);
draggedWindow = window; draggedWindow = window;