pub fn set_keyboard_mode(window: &impl IsA<Window>, mode: KeyboardMode)
Expand description

Sets if/when window should receive keyboard events from the compositor, see GtkLayerShellKeyboardMode for details.

Default is KeyboardMode::None

window

A layer surface.

mode

The type of keyboard interactivity requested.