summaryrefslogtreecommitdiffstats
path: root/libvo/x11_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/x11_common.c')
-rw-r--r--libvo/x11_common.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libvo/x11_common.c b/libvo/x11_common.c
index 7f22a0c59d..932ba4313a 100644
--- a/libvo/x11_common.c
+++ b/libvo/x11_common.c
@@ -1710,10 +1710,9 @@ void saver_on(Display * mDisplay)
{
#ifdef HAVE_XDPMS
- int nothing;
-
if (dpms_disabled)
{
+ int nothing;
if (DPMSQueryExtension(mDisplay, &nothing, &nothing))
{
if (!DPMSEnable(mDisplay))