For some reason, on KWin, mpv API attributes "osd-dimensions" didn't work causing the mouse coordinate system to translate to wrong screen coordinates on the remote system.
This patch fixes that by calculating osd dimensions via window size and video size & aspect ratio.
For some reason, on KWin, mpv API attributes "osd-dimensions" didn't work causing the mouse coordinate system to translate to wrong screen coordinates on the remote system. This patch fixes that by calculating osd dimensions via window size and video size & aspect ratio.