mirror of
https://github.com/microsoft/PowerToys
synced 2025-08-30 05:57:42 +00:00
FZ: remove RestoreOrginalTransparency() from ZoneWindow::~ZoneWindow() and from ZoneWindow::MoveSizeEnter()
This commit is contained in:
parent
df61ea0a62
commit
bb82a9bcf4
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user