mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-07 05:31:28 +03:00
@@ -259,7 +259,9 @@ class _ConnectionTabPageState extends State<ConnectionTabPage> {
|
||||
),
|
||||
]);
|
||||
|
||||
if (!ffi.canvasModel.cursorEmbedded && !ffi.ffiModel.viewOnly) {
|
||||
if (!ffi.canvasModel.cursorEmbedded &&
|
||||
!ffi.ffiModel.viewOnly &&
|
||||
!pi.is_wayland) {
|
||||
menu.add(MenuEntryDivider<String>());
|
||||
menu.add(RemoteMenuEntry.showRemoteCursor(
|
||||
key,
|
||||
|
||||
@@ -1684,6 +1684,9 @@ class _KeyboardMenu extends StatelessWidget {
|
||||
|
||||
for (KeyboardModeMenu mode in modes) {
|
||||
if (bind.sessionIsKeyboardModeSupported(id: id, mode: mode.key)) {
|
||||
if (pi.is_wayland && mode.key != _kKeyMapMode) {
|
||||
continue;
|
||||
}
|
||||
if (mode.key == _kKeyTranslateMode) {
|
||||
if (Platform.isLinux) {
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user