summaryrefslogtreecommitdiffstats
path: root/osdep
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2021-02-20 23:08:36 +0300
committerder richter <der.richter@gmx.de>2021-02-21 13:38:53 +0100
commit56669fb44e71198e91159bcc68417efc72314379 (patch)
tree1ef30c9e1784238cd8b046df889568372469198f /osdep
parenta4204be50f0f4cf14f322ffaa2345e9c0e8ff2e9 (diff)
downloadmpv-56669fb44e71198e91159bcc68417efc72314379.tar.bz2
mpv-56669fb44e71198e91159bcc68417efc72314379.tar.xz
mac: add ability to toggle visibility on all workspaces from menubar
Diffstat (limited to 'osdep')
-rw-r--r--osdep/macosx_menubar.m7
1 files changed, 7 insertions, 0 deletions
diff --git a/osdep/macosx_menubar.m b/osdep/macosx_menubar.m
index 11fdda5e53..6fefcb97aa 100644
--- a/osdep/macosx_menubar.m
+++ b/osdep/macosx_menubar.m
@@ -218,6 +218,13 @@
@"target" : self,
@"cmd" : @"cycle ontop"
}],
+ [NSMutableDictionary dictionaryWithDictionary:@{
+ @"name" : @"Toggle Visibility on All Workspaces",
+ @"action" : @"cmd:",
+ @"key" : @"",
+ @"target" : self,
+ @"cmd" : @"cycle on-all-workspaces"
+ }],
#if HAVE_MACOS_TOUCHBAR
@{ @"name": @"separator" },
[NSMutableDictionary dictionaryWithDictionary:@{