Added CursorManager and BitmapManager to startup procedures

Work on cursor support.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2784 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
DarkWyrm
2003-02-20 20:14:57 +00:00
parent e9318266f9
commit a8224b9257
8 changed files with 113 additions and 3 deletions
+2 -2
View File
@@ -413,11 +413,11 @@ void ServerApp::DispatchMessage(int32 code, int8 *buffer)
// otherwise be easy to crash the server by calling SetCursor a
// sufficient number of times
if(_appcursor)
cursormanager->DeleteCursor(_appcursor->_token);
cursormanager->DeleteCursor(_appcursor->ID());
_appcursor=new ServerCursor(cdata);
cursormanager->AddCursor(_appcursor);
cursormanager->SetCursor(_appcursor->_token);
cursormanager->SetCursor(_appcursor->ID());
break;
}
case SET_CURSOR_BCURSOR: