Re: Keypressed/Keyreleased events not reaching my code

2009-11-17 Thread Scott Sibley
I figured this out after some reading. On Mon, Nov 16, 2009 at 11:28 PM, Scott Sibley sisib...@gmail.com wrote: Hello. I'm writing an LCD controller, and one feature I'd like is the ability to interact with an LCD via the keyboard. I have the following code, but only the FocusOut/FocusIn

Re: Keypressed/Keyreleased events not reaching my code

2009-11-17 Thread Daniel Stone
On Mon, Nov 16, 2009 at 11:28:44PM -0600, Scott Sibley wrote: Hello. I'm writing an LCD controller, and one feature I'd like is the ability to interact with an LCD via the keyboard. I have the following code, but only the FocusOut/FocusIn events are firing. Either there's a passive grab, or

Keypressed/Keyreleased events not reaching my code

2009-11-16 Thread Scott Sibley
Hello. I'm writing an LCD controller, and one feature I'd like is the ability to interact with an LCD via the keyboard. I have the following code, but only the FocusOut/FocusIn events are firing. static Window GetCurrWindow(Display *d) { Window foo; Window win; int bar; do{