mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-12-15 12:35:54 +00:00
Support translate mode in x11
This commit is contained in:
@@ -1694,7 +1694,7 @@ class _KeyboardMenu extends StatelessWidget {
|
|||||||
for (KeyboardModeMenu mode in modes) {
|
for (KeyboardModeMenu mode in modes) {
|
||||||
if (bind.sessionIsKeyboardModeSupported(id: id, mode: mode.key)) {
|
if (bind.sessionIsKeyboardModeSupported(id: id, mode: mode.key)) {
|
||||||
if (mode.key == _kKeyTranslateMode) {
|
if (mode.key == _kKeyTranslateMode) {
|
||||||
if (Platform.isLinux || pi.platform == kPeerPlatformLinux) {
|
if (Platform.isLinux) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user