pub fn ungrab_key<Conn, A>(
conn: &Conn,
key: A,
grab_window: Window,
modifiers: ModMask,
) -> Result<VoidCookie<'_, Conn>, ConnectionError>Expand description
release a key combination.
Releases the key combination on grab_window if you grabbed it using
xcb_grab_key before.
§Fields
-
key- The keycode of the specified key combination.Using the special value
XCB_GRAB_ANYmeans 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_ANYmeans releasing the key combination with every possible modifier combination.
§Errors
Window- The specifiedgrab_windowdoes not exist.Value- TODO: reasons?
§See
GrabKey: requestxev: program