summaryrefslogtreecommitdiffstats
path: root/video/out/mac/window.swift
diff options
context:
space:
mode:
authorder richter <der.richter@gmx.de>2023-12-24 16:00:35 +0100
committerder richter <der.richter@gmx.de>2023-12-25 13:59:48 +0100
commit4d7763e6a65a2020aba505e378e83f49648bfa24 (patch)
tree8b02a750555d1506c5985a112d87cc6ae63c239c /video/out/mac/window.swift
parentdde277665514c2f97e824d08f901a84a3e590915 (diff)
downloadmpv-4d7763e6a65a2020aba505e378e83f49648bfa24.tar.bz2
mpv-4d7763e6a65a2020aba505e378e83f49648bfa24.tar.xz
mac: add support for --input-cursor-passthrough option
Diffstat (limited to 'video/out/mac/window.swift')
-rw-r--r--video/out/mac/window.swift1
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/mac/window.swift b/video/out/mac/window.swift
index 8002c43929..8a8c56c76a 100644
--- a/video/out/mac/window.swift
+++ b/video/out/mac/window.swift
@@ -91,6 +91,7 @@ class Window: NSWindow, NSWindowDelegate {
title = com.title
minSize = NSMakeSize(160, 90)
collectionBehavior = .fullScreenPrimary
+ ignoresMouseEvents = mpv?.opts.cursor_passthrough ?? false
delegate = self
if let cView = contentView {