XChangeKeyboardDevice(3X11) | X FUNCTIONS | XChangeKeyboardDevice(3X11) |
Status XChangeKeyboardDevice(Display *display, XDevice * device);
If the specified device is grabbed by another client, AlreadyGrabbed is returned. If the specified device is frozen by a grab on another device, GrabFrozen is returned. If the request is successful, Success is returned.
If the request succeeds, a ChangeDeviceNotify event is sent to all clients that have selected that event. A MappingNotify event with request = MappingKeyboard is sent to all clients. The specified device becomes the X keyboard and the old X keyboard becomes accessible through the input extension protocol requests.
XChangeKeyboardDevice can generate a BadDevice or a BadMatch error.
XFree86 | 4.5.0 |