[3ddesktop-dev] Re: Keyboard Input

On Tue, 2002-05-07 at 13:18, Brad Wasson wrote:

> Hmmm, well this has, in fact, happened to me once or twice before 
> and I conveniently ignored it :-P  however obviously it is a problem.
> I appreciate the detailed description - that helps.  This might be a 
> difficult one to get to the bottom of esp. since its not easy for me 
> to reproduce.  
> 
> A first guess might be to add an XSync(display, 0); just after
> XGrabKeyboard() and XGrabPointer() in GLWindow::create_GL_window()
> in win.cpp but I'm not sure (I figured out just enough of the X
> stuff to get it to work and apparently it doesn't quite do that yet ;).
> 
> I will continue to look into this and may have some test versions
> for you to try.
> 
Cool. I wish I could help on the programming side of it, but I don't get
very far past "Hello World" before I start getting in over my head in C
:). The whole interacting with gnome and X stuff would make my head
explode.  It's pretty easy for me to duplicate the problem on my home
box though, so testing for it shouldn't be too hard. 

Is there some kind of X event tool I can run that would help give any
clues? I seem to remember using something like that before for
something, but I can't remember the name of the tool, or why I was using
it anymore.

-Jeff




Other related posts: