Fix to avoid warping mouse until client successfully connects to

the server.
This commit is contained in:
crs 2003-07-05 17:05:12 +00:00
parent 28427a0e9b
commit 2e741b7d96
1 changed files with 11 additions and 1 deletions

View File

@ -73,8 +73,18 @@ CSecondaryScreen::open()
// open the screen
getScreen()->open();
// create and prepare our window
// create and prepare our window. pretend we're active so
// we don't try to show our window until later.
{
CLock lock(&m_mutex);
assert(m_active == false);
m_active = true;
}
createWindow();
{
CLock lock(&m_mutex);
m_active = false;
}
// subclass hook
onPostOpen();