mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
- 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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user