reordered operations to reduce cursor flashing when entering

primary screen.
This commit is contained in:
crs 2002-07-19 17:38:34 +00:00
parent cf71aec730
commit 89ab1caa11
1 changed files with 1 additions and 1 deletions

View File

@ -109,13 +109,13 @@ CPrimaryScreen::enter(SInt32 x, SInt32 y, bool forScreensaver)
CLock lock(&m_mutex); CLock lock(&m_mutex);
assert(m_active == true); assert(m_active == true);
enterNoWarp();
if (!forScreensaver) { if (!forScreensaver) {
warpCursor(x, y); warpCursor(x, y);
} }
else { else {
onEnterScreensaver(); onEnterScreensaver();
} }
enterNoWarp();
} }
void void