id whitelist

This commit is contained in:
rustdesk
2026-07-14 14:39:33 +08:00
parent fa418cace6
commit 4c87c16b19
58 changed files with 844 additions and 4 deletions

View File

@@ -4004,6 +4004,11 @@ bool whitelistNotEmpty() {
return v != '' && v != ',';
}
bool idWhitelistNotEmpty() {
final v = bind.mainGetOptionSync(key: kOptionIdWhitelist);
return v != '' && v != ',';
}
// `setMovable()` is only supported on macOS.
//
// On macOS, the window can be dragged by the tab bar by default.