* No longer maintain the Window::fMinimize member for hidden windows; this seems

to be what happens in BeOS, at least, and fixes bug #4127.
* Hopefully diver will also find any negative consequences of this change :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32012 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2009-07-31 10:43:47 +00:00
parent 1d4673660f
commit 23046a3935
+6 -1
View File
@@ -669,7 +669,12 @@ ServerWindow::_DispatchMessage(int32 code, BPrivate::LinkReceiver &link)
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.
break;
}