As I answered to Valeri, what we specifically do for a TGTransientFrame is: void TGX11::SetWMTransientHint(Window_t id, Window_t main_id) { // Tell window manager that window is a transient window of main. XSetTransientForHint(fDisplay, (Window) id, (Window) main_id); } If you don't like this derive from TGMainFrame instead. Same functionality but does not stay on top. -- Fons On Tue, 2002-06-04 at 15:19, Andreas Zoglauer wrote: > On Tue, 4 Jun 2002, Brett Viren wrote: > > > This may be a window manager issue. Do you have "keep transients > > above parent's window" or something similar set in whatever > > w.m. configuration you are using? Eg, in Sawfish this is under the > > "Misc" area of the configuration app. > > > > -Brett. > > Thanks for the answer, but... > > when I switch to Gnome/Sawfish (I use KDE2) and when I set the options in > the Misc and Focus area of the configuration - it works for all other windows > except the GuiTest example... > > Any further ideas? > > Thanks, > Andreas > > > ---------------------------------------------------------------------- > Andreas Zoglauer > > MPI fuer extraterrestrische Physik Phone: +49/89-30000-3848 > Postfach 1312 Fax: +49/89-30000-3569 > 85741 Garching, Germany Email: zog@mpe.mpg.de > ---------------------------------------------------------------------- > > -- Org: CERN, European Laboratory for Particle Physics. Mail: 1211 Geneve 23, Switzerland E-Mail: Fons.Rademakers@cern.ch Phone: +41 22 7679248 WWW: http://root.cern.ch/~rdm/ Fax: +41 22 7679480
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:54 MET