Support translate mode in x11

This commit is contained in:
asur4s 2023-03-18 20:58:00 -07:00
parent ba4945f598
commit b59f87f825

View File

@ -1694,7 +1694,7 @@ class _KeyboardMenu extends StatelessWidget {
for (KeyboardModeMenu mode in modes) {
if (bind.sessionIsKeyboardModeSupported(id: id, mode: mode.key)) {
if (mode.key == _kKeyTranslateMode) {
if (Platform.isLinux || pi.platform == kPeerPlatformLinux) {
if (Platform.isLinux) {
continue;
}
}