Made app_server a static, renamed desktop to gDesktop as it's a global, RootLayer now uses its own fDesktop internal member instead of the global one. Fixed a typo in some commented code (thanks Axel)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12864 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -118,7 +118,7 @@ cnt = 0; // for debugging
|
||||
|
||||
RebuildFullRegion();
|
||||
|
||||
desktop->AddWinBorder(this);
|
||||
gDesktop->AddWinBorder(this);
|
||||
|
||||
STRACE(("WinBorder %s:\n",GetName()));
|
||||
STRACE(("\tFrame: (%.1f,%.1f,%.1f,%.1f)\n",r.left,r.top,r.right,r.bottom));
|
||||
@@ -129,7 +129,7 @@ WinBorder::~WinBorder(void)
|
||||
{
|
||||
STRACE(("WinBorder(%s)::~WinBorder()\n",GetName()));
|
||||
|
||||
desktop->RemoveWinBorder(this);
|
||||
gDesktop->RemoveWinBorder(this);
|
||||
|
||||
if (fTopLayer){
|
||||
delete fTopLayer;
|
||||
|
||||
Reference in New Issue
Block a user