Path: utzoo!attcan!uunet!husc6!bloom-beacon!AUDI.SIEMENS.COM!ellis From: ellis@AUDI.SIEMENS.COM (Ellis Cohen) Newsgroups: comp.windows.x Subject: Re: Transient Shells and AWM (w/ followup question) Message-ID: <8807051514.AA11100@audi.siemens.com> Date: 5 Jul 88 15:14:19 GMT Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 31 > In article <350@algol.spp2.UUCP> urban@spp2.UUCP (Mike Urban) writes: > >If I use the Xt toolkit to create a Transient pop-up shell, > >AWM insists on performing "rubber-banding" (calling AskUser), > >because the USPosition and USsize hints are not both set; > > >Which of the three participants (awm, Shell(Xt), my application) > >should be changed? > > Mike Urban > > ...!trwrb!trwspp!spp2!urban > > I fixed this by setting the override_redirect flag to true in the > window attributes structure. Awm works fine in this context. Please do not set encourage application writers to set override_redirect on transient windows. Override_redirect windows are meant to be invisible to window managers. They should only be used for extremely short-lived windows like pop-up menu. Transient windows typically have longer lifetimes. Many window managers will provide decorations for transient windows so that the user can move them around. Setting override_redirect defeats that goal. My gut feeling is that awm should put the transient window up at the size and position requested. Ellis Cohen Siemens RTL