* Reverted r32012 which reopens #4127 - the fix causes strange behaviour with
CL-Amp which is a bit worse than seeing TrackerStatus in the Deskbar. Will search for a proper solution later. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32026 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
4384acf6c1
commit
9c1f8bf0c7
|
@ -662,19 +662,16 @@ ServerWindow::_DispatchMessage(int32 code, BPrivate::LinkReceiver &link)
|
|||
|
||||
link.Read<bool>(&minimize);
|
||||
if (link.Read<int32>(&showLevel) == B_OK) {
|
||||
|
||||
DTRACE(("ServerWindow %s: Message AS_MINIMIZE_WINDOW, "
|
||||
"showLevel: %ld, minimize: %d\n", Title(), showLevel,
|
||||
minimize));
|
||||
|
||||
if (showLevel <= 0) {
|
||||
// window is currently hidden - ignore the minimize request
|
||||
//fWindow->SetMinimized(minimize);
|
||||
fWindow->SetMinimized(minimize);
|
||||
// TODO: commenting this out makes BWindow::fMinimized
|
||||
// and Window::fMinimized go out of sync. However, this
|
||||
// seems to be what BeOS implies here; the TrackerStatus
|
||||
// window increases its hide level, but does not report
|
||||
// to be minimized.
|
||||
// and Window::fMinimized go out of sync. However, not
|
||||
// doing it currently causes #4127.
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue