Skip to content

Commit

Permalink
fix: Fixed issues with WindowExtensions.Show().
Browse files Browse the repository at this point in the history
Co-authored-by: vadimffe <vadim.ffegmail.com>
  • Loading branch information
HavenDV committed Sep 20, 2023
1 parent 2b4f694 commit fb8aa2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/H.NotifyIcon/Core/WindowUtilities.cs
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public static unsafe bool IsPackaged()
/// </remarks>
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);
}

/// <summary>
Expand Down

0 comments on commit fb8aa2d

Please sign in to comment.