Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/Avalonia.Controls.WebView.Core/Win/WindowsUtility.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ public static void MakeHwndTransparent(IntPtr hwnd)
// This combination ensures:
// 1. WS_EX_TRANSPARENT: Makes the window visually transparent but still blocks content from behind the application
// 2. Removing WS_EX_LAYERED: Prevents the window from creating its own compositing surface with default black background
PInvoke.SetWindowLong(p, WINDOW_LONG_PTR_INDEX.GWL_EXSTYLE,
(exStyle | (int)0x00000020L) ^ (int)0x00080000L);
PInvoke.SetWindowLong(p, WINDOW_LONG_PTR_INDEX.GWL_EXSTYLE,
(exStyle | (int)0x00000020L) & ~(int)0x00080000L);
}

internal static StandardCursorType MapCursor(uint systemCursorId)
Expand Down
Loading