- Fix Firefox 1.0/1.5 minimisation to taskbar

Patch by Mikhail Denisenko (denisenkom@gmail.com)

See issue #2451 for more details.

svn path=/trunk/; revision=41373
This commit is contained in:
Dmitry Chapyshev 2009-06-10 18:44:31 +00:00
parent 36e771184a
commit c828055508

View file

@ -3997,14 +3997,15 @@ NtUserGetWindowPlacement(HWND hWnd,
{
Safepl.showCmd = SW_HIDE;
}
else if (0 != (Window->Flags & WINDOWOBJECT_RESTOREMAX) ||
0 != (Wnd->Style & WS_MAXIMIZE))
else if ((0 != (Window->Flags & WINDOWOBJECT_RESTOREMAX) ||
0 != (Wnd->Style & WS_MAXIMIZE)) &&
0 == (Wnd->Style & WS_MINIMIZE))
{
Safepl.showCmd = SW_MAXIMIZE;
Safepl.showCmd = SW_SHOWMAXIMIZED;
}
else if (0 != (Wnd->Style & WS_MINIMIZE))
{
Safepl.showCmd = SW_MINIMIZE;
Safepl.showCmd = SW_SHOWMINIMIZED;
}
else if (0 != (Wnd->Style & WS_VISIBLE))
{