mirror of
https://github.com/mpv-player/mpv
synced 2025-02-22 15:56:59 +00:00
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;
|
||||
|
||||
if (screensaver_off)
|
||||
if (!stop_xscreensaver || screensaver_off)
|
||||
return;
|
||||
screensaver_off = 1;
|
||||
if (xss_suspend(mDisplay, True))
|
||||
|
Loading…
Reference in New Issue
Block a user