xcb_input_grab_device_key_checked(3)

xcb_input_grab_device_key_checked3

Part of xcb_input_grab_device_key(3).

Usage

#include <xcb/xinput.h>

Request function

xcb_void_cookie_t xcb_input_grab_device_key(xcb_connection_t *conn, xcb_window_t grab_window, uint16_t num_classes, uint16_t modifiers, uint8_t modifier_device, uint8_t grabbed_device, uint8_t key, uint8_t this_device_mode, uint8_t other_device_mode, uint8_t owner_events, const xcb_input_event_class_t *classes);

Request arguments

conn

The XCB connection to X11.

grab_window

TODO: NOT YET DOCUMENTED.

num_classes

TODO: NOT YET DOCUMENTED.

modifiers

TODO: NOT YET DOCUMENTED.

modifier_device

TODO: NOT YET DOCUMENTED.

grabbed_device

TODO: NOT YET DOCUMENTED.

key

TODO: NOT YET DOCUMENTED.

this_device_mode

TODO: NOT YET DOCUMENTED.

other_device_mode

TODO: NOT YET DOCUMENTED.

owner_events

TODO: NOT YET DOCUMENTED.

classes

TODO: NOT YET DOCUMENTED.

Overview

Return value

Returns an xcb_void_cookie_t. Errors (if any) have to be handled in the event loop.

If you want to handle errors directly with xcb_request_check instead, use xcb_input_grab_device_key_checked. See xcb-requests(3) for details.

Errors

This request does never generate any errors.

Releases

6 releases since Debian 9 (Stretch); the text changed 4 times.

  1. 9
  2. 10
  3. 11
  4. 12
  5. 13–Arch

Author

Generated from xinput.xml. Contact [email protected] for corrections and improvements.

From libxcb 1.17.0-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.