summaryrefslogtreecommitdiffstats
path: root/old-configure
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-08-17 15:38:47 +0200
committerwm4 <wm4@nowhere>2014-08-17 15:39:18 +0200
commit1e04c474ab59a61faf8d033bf2b8c0fbaf1ce1a1 (patch)
treed28664b63f43328070e4370840c06e0b42a7af4e /old-configure
parentb36ed6d9f9d4d70a9099588b7569ebfc68a89b33 (diff)
downloadmpv-1e04c474ab59a61faf8d033bf2b8c0fbaf1ce1a1.tar.bz2
mpv-1e04c474ab59a61faf8d033bf2b8c0fbaf1ce1a1.tar.xz
x11: listen to xrandr events
If the Xrandr configuration changes, re-read it. So if you change display modes or screen configuration, it will update the framedrop refresh rate accordingly. This passes the rootwin to XRRSelectInput(), which may or may not be allowed. But it works, and the documentation (which is worse than used toilet paper, great job Xorg) doesn't forbid it, or in fact say anything about what the window parameter is even used for.
Diffstat (limited to 'old-configure')
-rwxr-xr-xold-configure2
1 files changed, 1 insertions, 1 deletions
diff --git a/old-configure b/old-configure
index b4b1f7cf2b..b32c9f0598 100755
--- a/old-configure
+++ b/old-configure
@@ -634,7 +634,7 @@ fi
check_pkg_config "Xinerama" $_xinerama XINERAMA 'xinerama'
-check_pkg_config "Xrandr" $_xrandr XRANDR 'xrandr'
+check_pkg_config "Xrandr" $_xrandr XRANDR 'xrandr >= 1.2.0'
check_pkg_config "CACA" $_caca CACA 'caca >= 0.99.beta18'