reordered operations to reduce cursor flashing when entering
primary screen.
This commit is contained in:
parent
cf71aec730
commit
89ab1caa11
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue