From fae622c10f5185032a8a1ca20650df77ec4d5ff2 Mon Sep 17 00:00:00 2001 From: reimar Date: Sun, 14 Nov 2004 11:36:40 +0000 Subject: keep screensaver off when playing multiple files. patch by rgselknospam (at) yahoo [dot] com. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13936 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/x11_common.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libvo/x11_common.c b/libvo/x11_common.c index cd7fdf8255..519d08d787 100644 --- a/libvo/x11_common.c +++ b/libvo/x11_common.c @@ -371,7 +371,10 @@ int vo_init(void) WinID = 0; // use root win if (vo_depthonscreen) + { + saver_off(mDisplay); return 1; // already called + } XSetErrorHandler(x11_errorhandler); -- cgit v1.2.3