On Mon, Feb 01, 2010 at 10:54:28AM +0100, Tom Cowell wrote:
On 1 February 2010 06:34, Peter Hutterer peter.hutte...@who-t.net wrote:
On Sun, Jan 24, 2010 at 01:49:36PM +0100, Tom Cowell wrote:
In my experiments, I didn't want to do what Glynn suggested because I
will be repeatedly changing
On Sun, Jan 24, 2010 at 01:49:36PM +0100, Tom Cowell wrote:
In my experiments, I didn't want to do what Glynn suggested because I
will be repeatedly changing the grabbed keys during the lifetime of
the program. All the calls to XGrabKey seemed like a lot of overhead
to me.
So I did
In my experiments, I didn't want to do what Glynn suggested because I
will be repeatedly changing the grabbed keys during the lifetime of
the program. All the calls to XGrabKey seemed like a lot of overhead
to me.
So I did something different: my program is, for other reasons, using
the Xkb
Nokan Emiro wrote:
I need to catch all the Alt+F8 keypresses in my program,
and I do it this way:
XGrabKey(display, XKeysymToKeycode(display, F8), Mod1Mask, root_window,
True, GrabModeAsync, GrabModeAsync);
This works fine if no lock keys (ScrollLock, NumLock,
CapsLock or combinations