mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 10:46:33 +02:00
[AlwaysOnTop] Remove borders from Task view thumbnails (#20290)
This commit is contained in:
@@ -127,6 +127,9 @@ bool WindowBorder::Init(HINSTANCE hinstance)
|
|||||||
, windowRect.bottom - windowRect.top
|
, windowRect.bottom - windowRect.top
|
||||||
, SWP_NOMOVE | SWP_NOSIZE);
|
, SWP_NOMOVE | SWP_NOSIZE);
|
||||||
|
|
||||||
|
BOOL val = TRUE;
|
||||||
|
DwmSetWindowAttribute(m_window, DWMWA_EXCLUDED_FROM_PEEK, &val, sizeof(val));
|
||||||
|
|
||||||
m_frameDrawer = FrameDrawer::Create(m_window);
|
m_frameDrawer = FrameDrawer::Create(m_window);
|
||||||
if (!m_frameDrawer)
|
if (!m_frameDrawer)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user