mpv
mpv copied to clipboard
Pinch to resize window
I'd like to be able to resize the window with two finger pinch. I mainly use mpv on OS X, but it would be great if this can be implemented in Linux as well.
Isn't handling this stuff done by the desktop environment / window manager / compositor, etc. pp. ? I'm not really sure, and can't test for myself right now, but I don't think that this can (or rather should) be influenced from within mpv.
I don't think any window manager will translate "pinch inside window" to "resize window". Even if there is a window manager on Linux that can do that, it's still a valid feature request for OS X users, on which users don't have much control on the window manager customization.
This feature is available in MPlayerX and I hope this could be in mpv as well.
But MPlayerX is also for OS X, as far as I know. How do you get from there to implementation "in Linux as well"?
Yes so I'm asking to get this feature in OS X version of mpv, and better if this can also be done in the Linux version.
Ah, okay, then I misunderstood, sorry.
The only way I see this getting implemented is in the form of some way to translate multi-touch positional information to Lua code.
Then you could write your own Lua script for pinch-resize (or pinch-zoom, or panning, or gestures, or whatever else you can think of)
Apparently there actually are Lua libraries for multi-touch... So it should/might/can be possible.
ralated to #6434
for macOS please test #7382 if possible. otherwise i will merge it.
@Akemi Now that this is implemented, is there an easy way to disable this functionality? There should be a config toggle or something.
no, you can request one.