summaryrefslogtreecommitdiffstats
path: root/video/out
diff options
context:
space:
mode:
authorder richter <der.richter@gmx.de>2024-04-01 23:00:52 +0200
committerder richter <der.richter@gmx.de>2024-04-10 19:13:00 +0200
commit6df07ce90c894d561c179090675f30d811f9629b (patch)
tree49e662f25f9ade89eef5f329b92b77f755d8e233 /video/out
parent9bb7d96bf969f1bba3211c4eb802f8a6c391c392 (diff)
downloadmpv-6df07ce90c894d561c179090675f30d811f9629b.tar.bz2
mpv-6df07ce90c894d561c179090675f30d811f9629b.tar.xz
mac/window: fix window pinch gesture and modify current-window-scale
this will prevent jumping of the window size in the case the window size was 'externally' modified and not via the window-scale property, when using the pinch gesture. Fixes #11594 Fixes #13799
Diffstat (limited to 'video/out')
-rw-r--r--video/out/mac/window.swift2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/mac/window.swift b/video/out/mac/window.swift
index 0bbc40ea1d..c5a711ed86 100644
--- a/video/out/mac/window.swift
+++ b/video/out/mac/window.swift
@@ -505,7 +505,7 @@ class Window: NSWindow, NSWindowDelegate {
func addWindowScale(_ scale: Double) {
if !isInFullscreen {
- input?.command("add window-scale \(scale)")
+ input?.command("add current-window-scale \(scale)")
}
}