ViewHWInterface updates are a bit smoother now

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12175 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus 2005-03-30 23:02:44 +00:00
parent 3b7db45c9e
commit 89b3c19c8a
2 changed files with 4 additions and 2 deletions

View File

@ -19,7 +19,8 @@ HWInterface::HWInterface()
fCursor(NULL),
fCursorVisible(true),
fCursorLocation(0.5, 0.5),
fUpdateExecutor(new UpdateQueue(this))
// fUpdateExecutor(new UpdateQueue(this))
fUpdateExecutor(NULL)
{
}

View File

@ -268,7 +268,8 @@ STRACE("MSG_UPDATE\n");
}*/
BRect frame = fUpdateRegion.Frame();
if (frame.IsValid()) {
fView->Invalidate(frame);
// fView->Invalidate(frame);
fView->Invalidate();
}
fUpdateRegion.MakeEmpty();
fUpdateLock.Unlock();