Moved the CursorManager over to the Desktop too.
Maybe the CursorManager should be used to set the cursors directly instead of using fDesktop->GetCursorManager.FindCursor() and then fDesktop->GetHWInterface()->SetCursor() in ServerApp.cpp. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14033 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -371,10 +371,7 @@ AppServer::_DispatchMessage(int32 code, BPrivate::LinkReceiver& msg)
|
||||
|
||||
case AS_SET_SYSCURSOR_DEFAULTS:
|
||||
{
|
||||
// although this isn't pretty, ATM we only have RootLayer.
|
||||
// this messages should be handled somewhere into a RootLayer
|
||||
// specific area - this set is intended for a RootLayer.
|
||||
gDesktop->ActiveRootLayer()->GetCursorManager().SetDefaults();
|
||||
gDesktop->GetCursorManager().SetDefaults();
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user