[AlwaysOnTop] Remove borders from Task view thumbnails (#20290)

This commit is contained in:
Seraphima Zykova
2022-09-12 19:39:11 +02:00
committed by GitHub
parent ceba2708c6
commit cba6507d2b

View File

@@ -127,6 +127,9 @@ bool WindowBorder::Init(HINSTANCE hinstance)
, windowRect.bottom - windowRect.top
, SWP_NOMOVE | SWP_NOSIZE);
BOOL val = TRUE;
DwmSetWindowAttribute(m_window, DWMWA_EXCLUDED_FROM_PEEK, &val, sizeof(val));
m_frameDrawer = FrameDrawer::Create(m_window);
if (!m_frameDrawer)
{