diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Windowing/XamlWindowController.cs b/src/Snap.Hutao/Snap.Hutao/Core/Windowing/XamlWindowController.cs index a78cf106..816af2c2 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Windowing/XamlWindowController.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Windowing/XamlWindowController.cs @@ -140,7 +140,7 @@ internal sealed class XamlWindowController RECT primaryRect = StructMarshal.RECT(DisplayArea.Primary.OuterBounds); return IntersectRect(out _, in primaryRect, in iconRect); } - + HWND shellTrayWnd = FindWindowExW(default, default, "Shell_TrayWnd", default); HWND trayNotifyWnd = FindWindowExW(shellTrayWnd, default, "TrayNotifyWnd", default); HWND button = FindWindowExW(trayNotifyWnd, default, "Button", default);