Grabs the keyboard.
Exclusive on Linux X11; returns false on Wayland and other platforms.
@platforms linux
Future<bool> grabKeyboard() async { return _target?.grabKeyboard() ?? false; }