We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf7405d commit 8f95efbCopy full SHA for 8f95efb
src/ManagedShell.Common/Helpers/WindowHelper.cs
@@ -109,7 +109,7 @@ public static void HideWindowFromTasks(IntPtr hWnd)
109
110
public static void ExcludeWindowFromPeek(IntPtr hWnd)
111
{
112
- int status = (int)DWMNCRENDERINGPOLICY.DWMNCRP_ENABLED;
+ int status = 1;
113
DwmSetWindowAttribute(hWnd,
114
DWMWINDOWATTRIBUTE.DWMWA_EXCLUDED_FROM_PEEK,
115
ref status,
0 commit comments