There was an error while loading. Please reload this page.
1 parent a01e9d4 commit ee0c21fCopy full SHA for ee0c21f
1 file changed
src/Avalonia.Controls.WebView.Core/Win/WindowsUtility.cs
@@ -18,8 +18,8 @@ public static void MakeHwndTransparent(IntPtr hwnd)
18
// This combination ensures:
19
// 1. WS_EX_TRANSPARENT: Makes the window visually transparent but still blocks content from behind the application
20
// 2. Removing WS_EX_LAYERED: Prevents the window from creating its own compositing surface with default black background
21
- PInvoke.SetWindowLong(p, WINDOW_LONG_PTR_INDEX.GWL_EXSTYLE,
22
- (exStyle | (int)0x00000020L) ^ (int)0x00080000L);
+ PInvoke.SetWindowLong(p, WINDOW_LONG_PTR_INDEX.GWL_EXSTYLE,
+ (exStyle | (int)0x00000020L) & ~(int)0x00080000L);
23
}
24
25
internal static StandardCursorType MapCursor(uint systemCursorId)
0 commit comments