trivial changes

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou 2023-02-21 19:04:22 +08:00
parent 9dbd1f88f5
commit ac6ea0d9fc

View File

@ -651,7 +651,7 @@ class _RemoteMenubarState extends State<RemoteMenubar> {
Widget _buildKeyboard(BuildContext context) {
// Do not support peer 1.1.9.
if (Platform.isMacOS && stateGlobal.grabKeyboard) {
if (stateGlobal.grabKeyboard) {
bind.sessionSetKeyboardMode(id: widget.id, value: 'map');
return Offstage();
}