Path: utzoo!attcan!uunet!cs.utexas.edu!usc!sdd.hp.com!uakari.primate.wisc.edu!uflorida!haven!decuac!ufp.dco.dec.com!murphy From: murphy@ufp.dco.dec.com (Rick Murphy) Newsgroups: comp.windows.x Subject: Re: Problem with popups and focus Keywords: popups, focus Message-ID: <1990Oct18.133933@ufp.dco.dec.com> Date: 18 Oct 90 17:39:33 GMT References: <27913@bellcore.bellcore.com> Sender: news@decuac.dec.com (Network News) Reply-To: murphy@burfle.dco.dec.com Organization: Digital Equipment Corporation, Landover MD Lines: 23 In article <27913@bellcore.bellcore.com>, news@bellcore.bellcore.com (news) writes: >I'm having trouble with popup windows. Under openwin and under >whatever DEC's window manager is (mwm?), I can't manage to type to the >popup. I get perfectly fine behavior using twm. I assume that a power >struggle of some sort is going on between my application and some window >managers. ...deleted... >I never have understood popups very well. Can someone tell me what I >might do to resolve this problem? I'm hoping for a solution that can >be implemented in a few lines, of course, using the HP or Athena >widgets; I'm not ready for a wholesale rewrite in another widget set. You need to set XtNinput to true on the popup; otherwise, it won't accept keyboard focus. (ICCCM requires this; some window managers are more 'forgiving'.) -Rick -- Rick Murphy, WA1SPT/4 DEC Washington ULTRIX Resource Center Domain: murphy@ufp.dco.dec.com -or- murphy@ufp.enet.dec.com Bang: decwrl!ufp.enet!murphy Ding: (301) 306-2985 Disclaimer: This nonsense came from an AI program written in TECO. Ignore it.