Path: utzoo!attcan!uunet!bloom-beacon!ATHENA.MIT.EDU!swick From: swick@ATHENA.MIT.EDU (Ralph R. Swick) Newsgroups: comp.windows.x Subject: Re: stacking order with Xt Message-ID: <8910121313.AA09935@LYRE.MIT.EDU> Date: 12 Oct 89 13:13:51 GMT References: <4650@ncar.ucar.edu> Sender: daemon@bloom-beacon.MIT.EDU Organization: DEC/MIT Project Athena Lines: 17 > I would like any additional "edit" button > selections to change the stacking order so that the editor is on top. > If I try to use XtMakeGeometryRequest I get the message "X Toolkit Error: > XtMakeGeometryRequest - NULL parent. Use SetValues instead" It sounds like you are calling XtMakeGeometryRequest from the application. If so, this is a no-no; XtMakeGeometryRequest is intended to be called by the widget whose geometry is being changed, not by a third party. You get this message presumably because you specified a ShellWidget in the call and, in R3, Shells have no parent to field the request. If you're realy only changing stacking order then you'll be able to get away with this in R4, but it's still not recommended practice. Xt does not have any special support for third-party stacking changes; in this case, you should simply make direct Xlib calls (e.g. to XRaiseWindow) on the Shell window.