Sets a the mode of an input device.
The mode controls if the device is active and whether the device’s range is mapped to the entire screen or to a single window.
Note: This is only meaningful for floating devices, master devices (and slaves connected to these) drive the pointer cursor, which is not limited by the input mode.
this |
a Device. |
mode |
the input mode. |
true if the mode was successfully changed. |