-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Description
Expected behavior of the wanted feature
There’s already --no-input-default-bindings
for ignoring all keyboard & mouse events, but I couldn’t find anything that would allow you to click/scroll/etc. through the mpv window so that the input event would be received by whatever application is below the mpv window. --input-cursor=no
also exists, but this only hides the cursor when it’s over the mpv window.
Use case: I’d like to overlay subtitles for audio-only streams and keep them visible all the time. I can already achieve this pretty nicely with --no-video --force-window=yes --alpha=yes --background="#00000000" --border=no --ontop=yes --osc=no --window-dragging=no
and setting the window geometry to something fitting. This way subtitles are the only thing that’s visible in the mpv window, and they stay visible on top of other windows, but there’s still the annoyance of having an area where I can’t interact with what’s below the mpv window. I’ve tried to optimize the geometry to keep the window as small as possible, but unfortunately there needs to be a decent amount of width and height for all subtitles to fit, and sometimes there are 4+ lines of text visible at the same time.
I’m using Fedora on Gnome 3.36 (both X11 and Wayland available).
If this functionality is already available in mpv, please point me to the right direction and close the issue. And feel free to tell me if there’s another method to make this work (with or without the use of mpv).