mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 08:55:19 +00:00
- 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:
parent
36e771184a
commit
c828055508
1 changed files with 5 additions and 4 deletions
|
@ -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))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue