Skip to content

Commit

Permalink
FZ: remove RestoreOrginalTransparency() from ZoneWindow::~ZoneWindow(…
Browse files Browse the repository at this point in the history
…) and from ZoneWindow::MoveSizeEnter()
  • Loading branch information
yuyoyuppe committed Apr 28, 2020
1 parent df61ea0 commit bb82a9b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/modules/fancyzones/lib/ZoneWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -292,8 +292,6 @@ ZoneWindow::ZoneWindow(HINSTANCE hinstance)

ZoneWindow::~ZoneWindow()
{
RestoreOrginalTransparency();

Gdiplus::GdiplusShutdown(gdiplusToken);
}

Expand Down Expand Up @@ -354,8 +352,6 @@ IFACEMETHODIMP ZoneWindow::MoveSizeEnter(HWND window, bool dragEnabled) noexcept

if (m_host->isMakeDraggedWindowTransparentActive())
{
RestoreOrginalTransparency();

draggedWindowExstyle = GetWindowLong(window, GWL_EXSTYLE);

draggedWindow = window;
Expand Down

0 comments on commit bb82a9b

Please sign in to comment.