Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!snorkelwacker!bloom-beacon!HARVARD.HARVARD.EDU!jimf%saber From: jimf%saber@HARVARD.HARVARD.EDU Newsgroups: comp.windows.x Subject: proper way to get keypress events within override-redirect windows Message-ID: <9003022203.AA18830@armory> Date: 2 Mar 90 22:03:11 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 28 I have an Xt application which wants an XtPopup window to be override-redirect (XtNoverrideRedirect True) but still wants KeyPress events. This works fine as-is under twm, but fails under olwm (which is much more stringent on the InputHint == True requirement). If I try to use Xt to set XtNinput to True for the popup window, this setting is ignored (ie the property is never set). If I set the hint directly via XLib, olwm recognizes that the window should receive input, but the keypress events seem to get eaten by Xt (ie the popup never sees them). I think I'm missing something simple here. What window manager hints should be set for an override-redirect window which wants keyboard input? I've tried grabbing the keyboard which had the same results as setting the input hint with XLib except that other clients could no longer get keyboard events, something which I wish to avoid. Is there something special I should do with Xt? Any help would be greatly appreciated as I am on a tight schedule and really don't have time to fool around with this problem much longer. Thanks in advance, jim frost saber software jimf@saber.com