Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

xcb_ungrab_key(3) [centos man page]

xcb_ungrab_key(3)						   XCB Requests 						 xcb_ungrab_key(3)

NAME
xcb_ungrab_key - release a key combination SYNOPSIS
#include <xcb/xproto.h> Request function xcb_void_cookie_t xcb_ungrab_key(xcb_connection_t *conn, xcb_keycode_t key, xcb_window_t grab_window, uint16_t modifiers); REQUEST ARGUMENTS
conn The XCB connection to X11. 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. DESCRIPTION
Releases the key combination on grab_window if you grabbed it using xcb_grab_key before. 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_ungrab_key_checked. See xcb-requests(3) for details. ERRORS
xcb_window_error_t The specified grab_window does not exist. xcb_value_error_t TODO: reasons? SEE ALSO
xcb-requests(3), xev(1), xcb_grab_key(3) AUTHOR
Generated from xproto.xml. Contact xcb@lists.freedesktop.org for corrections and improvements. XCB
2014-06-10 xcb_ungrab_key(3)

Check Out this Related Man Page

xcb_ungrab_button(3)						   XCB Requests 					      xcb_ungrab_button(3)

NAME
xcb_ungrab_button - SYNOPSIS
#include <xcb/xproto.h> Request function xcb_void_cookie_t xcb_ungrab_button(xcb_connection_t *conn, uint8_t button, xcb_window_t grab_window, uint16_t modifiers); REQUEST ARGUMENTS
conn The XCB connection to X11. button One of the following values: XCB_BUTTON_INDEX_ANY Any of the following (or none): XCB_BUTTON_INDEX_1 The left mouse button. XCB_BUTTON_INDEX_2 The right mouse button. XCB_BUTTON_INDEX_3 The middle mouse button. XCB_BUTTON_INDEX_4 Scroll wheel. TODO: direction? XCB_BUTTON_INDEX_5 Scroll wheel. TODO: direction? TODO: NOT YET DOCUMENTED. grab_window TODO: NOT YET DOCUMENTED. modifiers TODO: NOT YET DOCUMENTED. DESCRIPTION
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_ungrab_button_checked. See xcb-requests(3) for details. ERRORS
This request does never generate any errors. SEE ALSO
AUTHOR
Generated from xproto.xml. Contact xcb@lists.freedesktop.org for corrections and improvements. XCB
2014-06-10 xcb_ungrab_button(3)
Man Page

4 More Discussions You Might Find Interesting

1. Programming

Detecting a key combination

Could anybody tell me how I can detect a particular key combination and perform a particular task on that event. e.g. if I press Ctrl + L on the shell then it clears the screen. Please tell me how it can be performed on my shell. And how the Arrow Keys can be detected. I tried but pressing a key... (11 Replies)
Discussion started by: mobile01
11 Replies

2. UNIX for Advanced & Expert Users

Automate with Putty-SSH for 2 users

Hi, I have automated logins to Unix boxes with Ssh - Putty combination. Have created a Pub - Pvt key combination for the same. Added the entry of username in "User name" box of Putty. This works perfectly for the specified user. I want this to happen now for another user as well, without... (0 Replies)
Discussion started by: vibhor_agarwali
0 Replies

3. Shell Programming and Scripting

Formula to get combination… sum

Formula to get combination Lats say, I have 5 values ID Price 1 5 2 10 3 30 4 5 Resule with Possible combinations will be ID Price 1 5 2 10 3 30 4 5 1+1 10 1+2 15 1+3 35 1+4 10 (1 Reply)
Discussion started by: Amit.Sagpariya
1 Replies

4. Shell Programming and Scripting

Detecting key combination in bash

I need to grab key combination from a bash script and store it in a variable. Is there any way to do this? Thanks in advance! (1 Reply)
Discussion started by: prism1
1 Replies