Merge pull request #3956 from fufesou/fix/android_physical_keyboard

fix android physical keyboard input
This commit is contained in:
RustDesk
2023-04-07 16:14:27 +08:00
committed by GitHub
Unverified

View File

@@ -64,7 +64,7 @@ class InputModel {
InputModel(this.parent);
KeyEventResult handleRawKeyEvent(FocusNode data, RawKeyEvent e) {
if (!stateGlobal.grabKeyboard) {
if (isDesktop && !stateGlobal.grabKeyboard) {
return KeyEventResult.handled;
}