mirror of
https://github.com/monero-project/monero-gui.git
synced 2026-04-18 01:47:26 -04:00
macOS: add basic menubar support
This commit is contained in:
@@ -41,6 +41,14 @@
|
||||
|
||||
#include "ScopeGuard.h"
|
||||
|
||||
void MacOSHelper::disableWindowTabbing()
|
||||
{
|
||||
#ifdef __MAC_10_12
|
||||
if ([NSWindow respondsToSelector:@selector(allowsAutomaticWindowTabbing)])
|
||||
[NSWindow setAllowsAutomaticWindowTabbing: NO];
|
||||
#endif
|
||||
}
|
||||
|
||||
bool MacOSHelper::isCapsLock()
|
||||
{
|
||||
#ifdef __MAC_10_12
|
||||
|
||||
Reference in New Issue
Block a user