Call the correct method to minimize/activate a window. Previously the BWindow got out of sync and activation of a window haven't worked probably.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38359 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Clemens Zeidler 2010-08-25 21:22:26 +00:00
parent 4e3080b72d
commit ccaae539b4

View File

@ -257,7 +257,7 @@ StackAndTile::WindowMinimized(Window* window, bool minimize)
for (int i = 0; i < group->CountItems(); i++) {
SATWindow* listWindow = group->WindowAt(i);
if (listWindow != satWindow)
desktop->MinimizeWindow(listWindow->GetWindow(), minimize);
listWindow->GetWindow()->ServerWindow()->NotifyMinimize(minimize);
}
}