* Moved the B_NOT_MINIMIZABLE flag check into ServerWindow::NotifyMinimize()
as this fixes some more incorrect minimizations on the app_server side. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34361 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1859,8 +1859,7 @@ Desktop::MinimizeApplication(team_id team)
|
||||
if (window->ServerWindow()->ClientTeam() != team)
|
||||
continue;
|
||||
|
||||
if ((window->Flags() & B_NOT_MINIMIZABLE) == 0)
|
||||
window->ServerWindow()->NotifyMinimize(true);
|
||||
window->ServerWindow()->NotifyMinimize(true);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -425,7 +425,8 @@ ServerWindow::NotifyQuitRequested()
|
||||
void
|
||||
ServerWindow::NotifyMinimize(bool minimize)
|
||||
{
|
||||
if (fWindow->Feel() != B_NORMAL_WINDOW_FEEL)
|
||||
if (fWindow->Feel() != B_NORMAL_WINDOW_FEEL
|
||||
|| ((fWindow->Flags() & B_NOT_MINIMIZABLE) == 0 && minimize))
|
||||
return;
|
||||
|
||||
// The client is responsible for the actual minimization
|
||||
|
||||
Reference in New Issue
Block a user