Re: [Nedit-develop] Re: seg fault with tear-off menus
Brought to you by:
tringali
From: TK S. <tee...@ya...> - 2004-01-11 13:19:28
|
--- "Scott J. Tringali" <sco...@et...> wrote: > Eddy De Greef wrote: > > > Perhaps, but I don't know exactly what the problems where that Scott > > wanted to tackle. Anyway, the former hierarchy was definitely not > > valid. There should have been only one ApplicationShell. > > Aside from following the documentation, the application shell can serve > as a group leader (removing the need to create an invisible window to do > this), it lets you set different windows with different resources. > > I also think it will fix two problems that we've worked around - > manually propogating visual/colormap/etc to new windows, and bugs > session in management. If you have 10 application shells, then the > session manager thinks there are ten applications. > > If I can't find a workaround that allows tear-offs to work, I'll pull > out the fix. I've tried manually closing the popups but I suspect > something is the reverse, somethings is double-deleting a shell. Have you tried out XtAppCreateShell? Anyway, I hacked a little on closing the popup: it did avoid the crash if I destroy the popup's XmRowColumn followed by its TransientShell parent bofore closing the window. __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus |