|
@@ -604,15 +604,11 @@ bool StandardMainLoop::doMainLoop()
|
|
|
lastFocus = newFocus;
|
|
|
}
|
|
|
|
|
|
-#ifndef TORQUE_OS_MAC
|
|
|
// under the web plugin do not sleep the process when the child window loses focus as this will cripple the browser perfomance
|
|
|
if (!Platform::getWebDeployment())
|
|
|
tm->setBackground(!newFocus);
|
|
|
else
|
|
|
tm->setBackground(false);
|
|
|
-#else
|
|
|
- tm->setBackground(false);
|
|
|
-#endif
|
|
|
}
|
|
|
else
|
|
|
{
|