diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2021-02-20 23:08:36 +0300 |
---|---|---|
committer | der richter <der.richter@gmx.de> | 2021-02-21 13:38:53 +0100 |
commit | 56669fb44e71198e91159bcc68417efc72314379 (patch) | |
tree | 1ef30c9e1784238cd8b046df889568372469198f | |
parent | a4204be50f0f4cf14f322ffaa2345e9c0e8ff2e9 (diff) | |
download | mpv-56669fb44e71198e91159bcc68417efc72314379.tar.bz2 mpv-56669fb44e71198e91159bcc68417efc72314379.tar.xz |
mac: add ability to toggle visibility on all workspaces from menubar
-rw-r--r-- | osdep/macosx_menubar.m | 7 |
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:@{ |