Fixed minor ugliness (only visible on slow systems, such as Qemu): the mouse cursor
was drawn before the background got cleared. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19756 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -362,12 +362,8 @@ Desktop::Init()
|
||||
// TODO: temporary workaround, fActiveScreen will be removed
|
||||
fActiveScreen = fVirtualScreen.ScreenAt(0);
|
||||
|
||||
SetCursor(NULL);
|
||||
// this will set the default cursor
|
||||
|
||||
fVirtualScreen.HWInterface()->MoveCursorTo(fVirtualScreen.Frame().Width() / 2,
|
||||
fVirtualScreen.Frame().Height() / 2);
|
||||
fVirtualScreen.HWInterface()->SetCursorVisible(true);
|
||||
|
||||
#if TEST_MODE
|
||||
gInputManager->AddStream(new InputServerStream);
|
||||
@@ -393,6 +389,11 @@ Desktop::Init()
|
||||
|
||||
gFontManager->AttachUser(fUserID);
|
||||
|
||||
SetCursor(NULL);
|
||||
// this will set the default cursor
|
||||
|
||||
fVirtualScreen.HWInterface()->SetCursorVisible(true);
|
||||
|
||||
return B_OK;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user