mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
This uses GetClipboardSequenceNumber() to detect clipboard content changes. Clipboard Format Listener is a better way to do this according to MS docs, but sequence number works and the listener requires creating a dedicated thread and HWND for monitoring, so I will save it for a later time.