Search Results

Search: Posts Made By: N7DR
2,349
Posted By N7DR
The pertinent class is called keyboard_queue. ...
The pertinent class is called keyboard_queue.

In the class definition, there is:

Display* _display_p; // the X display pointerThe constructor provides a value for this in...
2,349
Posted By N7DR
Xlib: XKeysymToKeycode hangs
Two simple questions related to the following puzzling behaviour:

I have the following line of code:


const KeyCode kc = XKeysymToKeycode(_display_p, ks);
where _display_p is a valid...
4,436
Posted By N7DR
After a lot more experimentation, I discovered...
After a lot more experimentation, I discovered that the trick is to use:


XGrabKey(<Display*>, AnyKey, AnyModifier, <window>, false, GrabModeAsync, GrabModeAsync);
So far, that seems to do...
4,436
Posted By N7DR
It turns out that the change to XGrabKeyboard()...
It turns out that the change to XGrabKeyboard() is still not quite doing the right thing :-(

Now keyboard events from ALL windows are being sent to my application, even though I specifically use...
4,436
Posted By N7DR
xlib and keyboard events
1. If there's some better place where xlib experts hang out, please tell me. Despite an assiduous search, I could not find an xlib reflector.

2. My actual question:
In an xterm, I want to grab...
Showing results 1 to 5 of 5

 
All times are GMT -4. The time now is 02:58 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy