[MPlayer-cvslog] r34074 - trunk/libvo/x11_common.c

reimar subversion at mplayerhq.hu
Tue Sep 6 22:39:06 CEST 2011


Author: reimar
Date: Tue Sep  6 22:39:06 2011
New Revision: 34074

Log:
Make the stop-xscreensaver option behave as described in the man page.

Modified:
   trunk/libvo/x11_common.c

Modified: trunk/libvo/x11_common.c
==============================================================================
--- trunk/libvo/x11_common.c	Tue Sep  6 17:28:53 2011	(r34073)
+++ trunk/libvo/x11_common.c	Tue Sep  6 22:39:06 2011	(r34074)
@@ -1523,7 +1523,7 @@ void saver_off(Display * mDisplay)
 {
     int nothing;
 
-    if (screensaver_off)
+    if (!stop_xscreensaver || screensaver_off)
         return;
     screensaver_off = 1;
     if (xss_suspend(True))


More information about the MPlayer-cvslog mailing list