Disable X11 screensavers.

This commit is contained in:
Glenn Maynard
2004-01-03 07:55:20 +00:00
parent 6f1cac33c1
commit dc61e951cf
+6
View File
@@ -417,6 +417,12 @@ RageDisplay_OGL::RageDisplay_OGL( VideoModeParams p, bool bAllowUnacceleratedRen
void RageDisplay_OGL::Update(float fDeltaTime)
{
wind->Update(fDeltaTime);
#if defined(unix)
/* Disable the screensaver. */
ASSERT( g_X11Display );
XForceScreenSaver( g_X11Display, ScreenSaverReset );
#endif
}
bool RageDisplay_OGL::IsSoftwareRenderer()