-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pinch to resize window #3214
Comments
Isn't handling this stuff done by the desktop environment / window manager / compositor, etc. pp. ? |
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 |
the event returns a delta ratio so we can just add it to the current window-scale. Adds support for mpv-player#3214
for macOS please test #7382 if possible. otherwise i will merge it. |
the event returns a delta ratio so we can just add it to the current window-scale. Adds support for #3214
@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. |
Lua scripts should be able to implement this with #14003. Note that X11 isn't supported by that PR, but it's planned. |
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.
The text was updated successfully, but these errors were encountered: