From bb82a9bcf4d821ba2c08d4196729b694806e977f Mon Sep 17 00:00:00 2001 From: yuyoyuppe Date: Tue, 28 Apr 2020 13:12:37 +0300 Subject: [PATCH] FZ: remove RestoreOrginalTransparency() from ZoneWindow::~ZoneWindow() and from ZoneWindow::MoveSizeEnter() --- src/modules/fancyzones/lib/ZoneWindow.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/modules/fancyzones/lib/ZoneWindow.cpp b/src/modules/fancyzones/lib/ZoneWindow.cpp index 81cd60ac22..684995f0cc 100644 --- a/src/modules/fancyzones/lib/ZoneWindow.cpp +++ b/src/modules/fancyzones/lib/ZoneWindow.cpp @@ -292,8 +292,6 @@ ZoneWindow::ZoneWindow(HINSTANCE hinstance) ZoneWindow::~ZoneWindow() { - RestoreOrginalTransparency(); - Gdiplus::GdiplusShutdown(gdiplusToken); } @@ -354,8 +352,6 @@ IFACEMETHODIMP ZoneWindow::MoveSizeEnter(HWND window, bool dragEnabled) noexcept if (m_host->isMakeDraggedWindowTransparentActive()) { - RestoreOrginalTransparency(); - draggedWindowExstyle = GetWindowLong(window, GWL_EXSTYLE); draggedWindow = window;