changeset 33986:90a73d713bb2

Make the stop-xscreensaver option behave as described in the man page.
author reimar
date Tue, 06 Sep 2011 20:39:06 +0000
parents d99f341d8442
children e1a74e3ddee7
files libvo/x11_common.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/x11_common.c	Tue Sep 06 15:28:53 2011 +0000
+++ b/libvo/x11_common.c	Tue Sep 06 20:39:06 2011 +0000
@@ -1523,7 +1523,7 @@
 {
     int nothing;
 
-    if (screensaver_off)
+    if (!stop_xscreensaver || screensaver_off)
         return;
     screensaver_off = 1;
     if (xss_suspend(True))