[comp.windows.x] XGrabKeyboard

nsche@ATR-17.HAC.COM (Norm Scherer) (12/03/88)

Has anyone ever seen the XGrabKeyboard function successfully used.  
We are having trouble with it always insisting that the window is
not realized.  Any pointers would be appreciated.

	Norm Scherer
 	Software Engineering Division
 	Hughes Aircraft Co., Ground Systems Group,
 	Fullerton Ca.
 	(nsche%atr-2s@hac2arpa.hac.com or nsche@atr-2s.hac.com)
 
Opinions are my own, not those of HAC or anyone else I have ever met

rws@EXPO.LCS.MIT.EDU (Bob Scheifler) (12/04/88)

    Has anyone ever seen the XGrabKeyboard function successfully used.  

Yes.

    We are having trouble with it always insisting that the window is
    not realized.

The grab-window and all of its ancestors must be mapped.  If that
is the case and you are still getting an error, try sending a
bug report including failing test code to xbugs.