x11: make the stop-xscreensaver option behave as described in the man page

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@34074 b3059339-0415-0410-9bf9-f77b7e298cf2
Author: reimar
This commit is contained in:
mplayer-svn 2011-09-06 20:39:06 +00:00 committed by wm4
parent 335c6259d2
commit 9c76680dfb
1 changed files with 1 additions and 1 deletions

View File

@ -1557,7 +1557,7 @@ static void saver_off(Display * mDisplay)
{
int nothing;
if (screensaver_off)
if (!stop_xscreensaver || screensaver_off)
return;
screensaver_off = 1;
if (xss_suspend(mDisplay, True))