[][src]Function clipboard_x11::ungrab_key

pub fn ungrab_key(
    c: &'a Connection,
    key: u8,
    grab_window: u32,
    modifiers: u16
) -> Cookie<'a, xcb_void_cookie_t>

release a key combination

Releases the key combination on grab_window if you grabbed it using xcb_grab_key before.

parameters:

  • c: The connection object to the server

  • key: The keycode of the specified key combination.

    Using the special value XCB_GRAB_ANY means releasing all possible key codes.

  • grab_window: The window on which the grabbed key combination will be released.

  • modifiers: The modifiers of the specified key combination.

    Using the special value XCB_MOD_MASK_ANY means releasing the key combination with every possible modifier combination.