diff options
author | wm4 <wm4@nowhere> | 2013-11-04 00:43:27 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-11-04 00:43:27 +0100 |
commit | 3813b137962d083410c31c896b62b3c21e066df9 (patch) | |
tree | e6f52ba8f5276d22f3ddfa5cc34e99216d46011c /video/out | |
parent | f7b2d644eff7fae2d74259ae14ec2b05b00c9b9b (diff) | |
download | mpv-3813b137962d083410c31c896b62b3c21e066df9.tar.bz2 mpv-3813b137962d083410c31c896b62b3c21e066df9.tar.xz |
fix weird DPMS->EXT replacement
Diffstat (limited to 'video/out')
-rw-r--r-- | video/out/x11_common.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/video/out/x11_common.c b/video/out/x11_common.c index 54cd063505..09492a2294 100644 --- a/video/out/x11_common.c +++ b/video/out/x11_common.c @@ -50,7 +50,7 @@ #include <X11/extensions/scrnsaver.h> #endif -#if HAVE_XEXT +#if HAVE_XDPMS #include <X11/extensions/dpms.h> #endif @@ -1552,7 +1552,7 @@ static void saver_on(struct vo_x11_state *x11) x11->screensaver_off = 0; if (xss_suspend(mDisplay, False)) return; -#if HAVE_XEXT +#if HAVE_XDPMS if (x11->dpms_disabled) { int nothing; if (DPMSQueryExtension(mDisplay, ¬hing, ¬hing)) { @@ -1587,7 +1587,7 @@ static void saver_off(struct vo_x11_state *x11) x11->screensaver_off = 1; if (xss_suspend(mDisplay, True)) return; -#if HAVE_XEXT +#if HAVE_XDPMS if (DPMSQueryExtension(mDisplay, ¬hing, ¬hing)) { BOOL onoff; CARD16 state; |