Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!munnari.oz.au!brolga!bunyip.cc.uq.oz.au!lance!ptcburp!fbm From: fbm@ptcburp.ptcbu.oz.au (Farrell McKay) Newsgroups: comp.windows.x Subject: Popup problems under twm, tvtwm but not mwm Message-ID: <216@ptcburp.ptcbu.oz.au> Date: 22 Nov 90 07:27:25 GMT Organization: Pyramid Technology Corporation Lines: 36 Is there anyone out there who can confirm or deny the following statement.?? The correct behaviour of APPLICATION_MODAL popup widgets is at least partly dependent upon which window manager one uses. Specifically, these widgets do not behave correctly under twm, or tvtwm. :-( My X program is based on the Motif 1.0 widget set. I am using an XmMessageDialog widget to stop the application and report fatal errors, but without stopping any other applications. Under mwm everything works just fine and dandy. Under twm or tvtwm, however, the popup is visible to the window manager, its appearance does not stop events from being dispatched to the rest of the application, it does not get iconified along with the rest of the application, it can be lowered beneath the application's outermost window, etc. etc. It would seem that twm treats the popup as a modeless (instead of modal) popup. In the twm man page there is a little sentence tucked away which states: "DecorateTransients: This variable indicates that transient windows (those containing a WM_TRANSIENT_FOR property) should have titlebars. By default, transients are not reparented." ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ I suspect this is the crux of the problem. Can I change this default behaviour? If so, how? For full compatibility, I am using the R3 version of Xlib and 1.0 release of Motif libXt and libXm. ---- -m------- Farrell McKay, fbm@ptcburp.ptcbu.oz.au ---mmm----- Pyramid Technology Aust., ...!munnari!ptcburp.oz!fbm -----mmmmm--- Research Park, Bond University, +61 75 950256 -------mmmmmmm- Gold Coast, Qld 4229, AUSTRALIA +61 75 522475 FAX