- fix for restoring applications using task bar buttons

- project file maintainancement
- docu update

svn path=/branches/lean-explorer/; revision=8450
This commit is contained in:
Martin Fuchs
2004-02-28 16:41:55 +00:00
parent c0442f2fa3
commit 696e9fab75
@@ -180,7 +180,9 @@ int TaskBar::Notify(int id, NMHDR* pnmh)
void TaskBar::ActivateApp(TaskBarMap::iterator it, bool can_minimize)
{
HWND hwnd = it->first;
bool minimize_it = can_minimize && (hwnd==GetForegroundWindow() || hwnd==_last_foreground_wnd);
bool minimize_it = can_minimize && !IsIconic(hwnd) &&
(hwnd==GetForegroundWindow() || hwnd==_last_foreground_wnd);
// switch to selected application window
if (!minimize_it)