update activity every 30 sec

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17726 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
nplourde 2006-03-04 12:37:44 +00:00
parent 63985abe1a
commit 9ff365af34
1 changed files with 2 additions and 2 deletions

View File

@ -723,7 +723,7 @@ static int control(uint32_t request, void *data, ...)
}
}
//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 @@ static int control(uint32_t request, void *data, ...)
GetTime(&d);
DateToSeconds( &d, &curTime);
if( ( (curTime - lastTime) >= 60) || (lastTime == 0))
if( ( (curTime - lastTime) >= 30) || (lastTime == 0))
{
UpdateSystemActivity(UsrActivity);
lastTime = curTime;