Path: utzoo!censor!geac!jtsv16!uunet!bloom-beacon!ATHENA.MIT.EDU!swick From: swick@ATHENA.MIT.EDU (Ralph R. Swick) Newsgroups: comp.windows.x Subject: Re: popup windows, ICCCM compliance, and keyboard input Message-ID: <8909191152.AA08662@LYRE.MIT.EDU> Date: 19 Sep 89 11:52:49 GMT References: <17649@bellcore.bellcore.com> Organization: DEC/MIT Project Athena Lines: 22 > I may be suffering from brain rot, but for the life of me I can't > figure out what combination of override_redirect, transient_for, and > wmhints.input = True is needed to allow me to type in a popup window. override_redirect = False, wmhints.input = True should be sufficient. The semantics of transient_for (WM_TRANSIENT_FOR) are wm-specific and it's possible that a wm could disallow input to windows with this property (though I think that would be a big mistake). > What I need is the words to tell the window manager to give a popup > widget (at the moment I'm using a transientShellClass, but I've also > tried overrideRedirectShellClass and wmShellClass) the input focus > when I enter that popup. I assume you mean overrideShellClass; if not, you're not using the standard Xt. WMShellClass is not intended to be instantiated by applications; you should use TopLevelShellClass instead, if TransientShellClass is not appropriate. You might try modifying the transient (Boolean) resource with either a TransientShell or a TopLevelShell and see if that makes your wm any happier. We certainly have such things working here...