changeset 17725:d7dd016cb97a

update activity every 30 sec
author nplourde
date Sat, 04 Mar 2006 12:37:44 +0000
parents b6b34e21941b
children 541738aa3079
files libvo/vo_macosx.m
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_macosx.m	Sat Mar 04 11:00:20 2006 +0000
+++ b/libvo/vo_macosx.m	Sat Mar 04 12:37:44 2006 +0000
@@ -723,7 +723,7 @@
 		}
 	}
 	
-	//update activity every 60 seconds to prevent
+	//update activity every 30 seconds to prevent
 	//screensaver from starting up.
 	DateTimeRec d;
 	unsigned long curTime;
@@ -732,7 +732,7 @@
 	GetTime(&d);
 	DateToSeconds( &d, &curTime);
 	
-	if( ( (curTime - lastTime) >= 60) || (lastTime == 0))
+	if( ( (curTime - lastTime) >= 30) || (lastTime == 0))
 	{
 		UpdateSystemActivity(UsrActivity);
 		lastTime = curTime;