diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-11-14 11:36:40 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-11-14 11:36:40 +0000 |
commit | fae622c10f5185032a8a1ca20650df77ec4d5ff2 (patch) | |
tree | 2952a884abca46e8550879d0178ec3658bee6eee /libvo | |
parent | 0d5385c997bc9d41df653398ecc4be3debb432eb (diff) |
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
Diffstat (limited to 'libvo')
-rw-r--r-- | libvo/x11_common.c | 3 |
1 files changed, 3 insertions, 0 deletions
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); |