Function grab_input_device

Source
pub fn grab_input_device(kb: InputDevice, grab: bool)
Expand description

Grab the input device.

This usually only works if the compositor is running as an application under X. It will probably not work under XWayland.