mirror of https://github.com/mpv-player/mpv
This is a hack, but unfortunately the DwmGetCompositionTimingInfo heuristic does not work in all cases (with multiple-monitors on Windows 8.1 and even with a single monitor in Windows 10.) See the comment in mp_w32_is_in_exclusive_mode() for more details. It should go without saying that if any better method of doing this reveals itself, this hack should be dropped. |
||
---|---|---|
.. | ||
displayconfig.c | ||
displayconfig.h | ||
exclusive_hack.c | ||
exclusive_hack.h |