rustdesk 2023-08-23 21:59:22 +08:00
parent 28c0e15058
commit cb73490107

View File

@ -354,7 +354,15 @@ class _ConnectionTabPageState extends State<ConnectionTabPage> {
));
}
if (perms['keyboard'] != false && !ffi.ffiModel.viewOnly) {}
if (perms['keyboard'] != false && !ffi.ffiModel.viewOnly) {
menu.add(RemoteMenuEntry.insertLock(sessionId, padding,
dismissFunc: cancelFunc));
if (pi.platform == kPeerPlatformLinux || pi.sasEnabled) {
menu.add(RemoteMenuEntry.insertCtrlAltDel(sessionId, padding,
dismissFunc: cancelFunc));
}
}
menu.addAll([
MenuEntryDivider<String>(),