ungrabKeyboard method

Future<bool> ungrabKeyboard()

Ungrabs the keyboard.

Exclusive on Linux X11; returns false on Wayland and other platforms.

@platforms linux

Implementation

Future<bool> ungrabKeyboard() async {
  return _target?.ungrabKeyboard() ?? false;
}