mirror of https://github.com/mpv-player/mpv
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:
parent
335c6259d2
commit
9c76680dfb
|
@ -1557,7 +1557,7 @@ static void saver_off(Display * mDisplay)
|
||||||
{
|
{
|
||||||
int nothing;
|
int nothing;
|
||||||
|
|
||||||
if (screensaver_off)
|
if (!stop_xscreensaver || screensaver_off)
|
||||||
return;
|
return;
|
||||||
screensaver_off = 1;
|
screensaver_off = 1;
|
||||||
if (xss_suspend(mDisplay, True))
|
if (xss_suspend(mDisplay, True))
|
||||||
|
|
Loading…
Reference in New Issue