No longer draws the desktop window.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13549 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2005-07-08 00:38:52 +00:00
parent 1f56ada26a
commit 3182843008
+4
View File
@@ -15,6 +15,7 @@
#include "WinBorder.h"
#include <ColorSet.h>
#include <WindowPrivate.h>
WorkspacesLayer::WorkspacesLayer(BRect frame, const char* name,
@@ -93,6 +94,9 @@ WorkspacesLayer::_DrawWindow(const BRect& workspaceFrame,
const BRect& screenFrame, WinBorder* window,
BRegion& backgroundRegion)
{
if (window->Feel() == kDesktopWindowFeel)
return;
BRect frame = _WindowFrame(workspaceFrame, screenFrame, window->Frame());
BRect tabFrame = _WindowFrame(workspaceFrame, screenFrame,
window->GetDecorator()->GetTabRect());