Don't minimize windows (when hiding applications) if they have

the B_NOT_MINIMIZABLE flag. It should more properly fix #4337.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34351 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Philippe Saint-Pierre
2009-11-29 19:55:02 +00:00
parent 5f341c3847
commit 001731449e
+2 -1
View File
@@ -1859,7 +1859,8 @@ Desktop::MinimizeApplication(team_id team)
if (window->ServerWindow()->ClientTeam() != team)
continue;
window->ServerWindow()->NotifyMinimize(true);
if ((window->Flags() & B_NOT_MINIMIZABLE) == 0)
window->ServerWindow()->NotifyMinimize(true);
}
}