mirror of
https://github.com/mpv-player/mpv
synced 2025-01-18 21:31:13 +00:00
fe782a6e95
Drop use of the ancient XF86VM, and use the slightly less ancient Xrandr extension to retrieve the refresh rate. Xrandr has the advantage that it supports multiple monitors (at least the modern version of it). For now, we don't attempt any dynamic reconfiguration. We don't request and listen to Xrandr events, and we don't notify the VO code of changes in the refresh rate. (The later works by assuming that X coordinates map directly to Xrandr coordinates, which probably is wrong with compositing window manager, at least if these use complicated transformations. But I know of no API to handle this.) It would be nice to drop use of the Xinerama extension too, but unfortunately, at least one EWMH feature uses Xinerama screen numbers, and I don't know how that maps to Xrandr outputs. |
||
---|---|---|
.. | ||
checks | ||
detections | ||
fragments | ||
generators | ||
__init__.py | ||
dependencies.py | ||
features.py | ||
inflectors.py | ||
syms.py | ||
waf_customizations.py |