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
commit 2383246fac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;
}