From 9c76680dfb927518932b9f817b5ff2c2c24c083e Mon Sep 17 00:00:00 2001 From: mplayer-svn Date: Tue, 6 Sep 2011 20:39:06 +0000 Subject: 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 --- libvo/x11_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libvo/x11_common.c b/libvo/x11_common.c index 3390c52d76..edf32792ee 100644 --- a/libvo/x11_common.c +++ b/libvo/x11_common.c @@ -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)) -- cgit v1.2.3