Skip to content

Commit

Permalink
explorer: Avoid hiding the taskbar if it's enabled.
Browse files Browse the repository at this point in the history
  • Loading branch information
rbernon authored and julliard committed Dec 13, 2024
1 parent 448fcbc commit 9d8d17e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion programs/explorer/systray.c
Original file line number Diff line number Diff line change
Expand Up @@ -1114,7 +1114,7 @@ static LRESULT WINAPI shell_traywnd_proc( HWND hwnd, UINT msg, WPARAM wparam, LP
{
WINDOWPOS *p = (WINDOWPOS *)lparam;

if (p->flags & SWP_SHOWWINDOW && (!show_systray || (!nb_displayed && !enable_taskbar)))
if (p->flags & SWP_SHOWWINDOW && (!show_systray || !nb_displayed) && !enable_taskbar)
{
TRACE( "WM_WINDOWPOSCHANGING clearing SWP_SHOWWINDOW.\n" );
p->flags &= ~SWP_SHOWWINDOW;
Expand Down

0 comments on commit 9d8d17e

Please sign in to comment.