summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libvo/x11_common.c3
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);