mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
- Fix Firefox 1.0/1.5 minimisation to taskbar
Patch by Mikhail Denisenko ([email protected]) See issue #2451 for more details. svn path=/trunk/; revision=41373
This commit is contained in:
@@ -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))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user