From fb8aa2df73465a232a6f8cb7ebab3f28dea2e634 Mon Sep 17 00:00:00 2001 From: Konstantin S Date: Thu, 21 Sep 2023 00:10:12 +0400 Subject: [PATCH] fix: Fixed issues with WindowExtensions.Show(). Co-authored-by: vadimffe --- src/libs/H.NotifyIcon/Core/WindowUtilities.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/H.NotifyIcon/Core/WindowUtilities.cs b/src/libs/H.NotifyIcon/Core/WindowUtilities.cs index 7c8114c..f85c7f6 100644 --- a/src/libs/H.NotifyIcon/Core/WindowUtilities.cs +++ b/src/libs/H.NotifyIcon/Core/WindowUtilities.cs @@ -95,7 +95,7 @@ public static unsafe bool IsPackaged() /// public static bool ShowWindow(nint hWnd) { - return PInvoke.ShowWindow(new HWND(hWnd), SHOW_WINDOW_CMD.SW_SHOW); + return PInvoke.ShowWindow(new HWND(hWnd), SHOW_WINDOW_CMD.SW_SHOWNORMAL); } ///