mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-06 00:39:16 +00:00
mac tray icon opt
This commit is contained in:
1 parent
8e3e8ab5bc
commit
3cbcd2e46a
10 files changed
+33
-9
No files matched your search
@@ -34,3 +34,9 @@ extern "C" bool InputMonitoringAuthStatus(bool prompt) {
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
extern "C" float BackingScaleFactor() {
|
||||
NSScreen* s = [NSScreen mainScreen];
|
||||
if (s) return [s backingScaleFactor];
|
||||
return 1;
|
||||
}
|
||||
Reference in new issue
Block a user