[Xcb] I’m writing a launcher and I need to capture the keyboard
Alan Coopersmith
alan.coopersmith at oracle.com
Wed Mar 21 09:33:01 PDT 2012
On 03/21/12 07:53 AM, Alexander Teinum wrote:
> What I want to accomplish is to have a launcher program that, once
> itself is launched, should capture the keyboard while blocking
> keyboard input from other applications, until the user presses enter
> or escape.
These should have more information on the needed requests, though written
in terms of the older Xlib API's instead of xcb API (which is more directly
mappable to the protocol description):
http://who-t.blogspot.co.uk/2010/11/high-level-overview-of-grabs.html
http://www.x.org/releases/X11R7.6/doc/xproto/x11protocol.html#requests:GrabKeyboard
http://www.x.org/releases/X11R7.6/doc/libX11/specs/libX11/libX11.html#Keyboard_Grabbing_
--
-Alan Coopersmith- alan.coopersmith at oracle.com
Oracle Solaris Engineering - http://blogs.oracle.com/alanc
More information about the Xcb
mailing list