From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Roxborough To: insight@sources.redhat.com Subject: [RFA] Fix modal dialogs on Windows. Date: Tue, 11 Dec 2001 01:58:00 -0000 Message-ID: <20011211015433.48597a6b.irox@redhat.com> X-SW-Source: 2001-q4/msg00416.html Message-ID: <20011211015800.xprROxY1OZPcOJJESd1yK_ad0fmOLACMOcSRTLdpLLM@z> Hi, this fixes the vanishing modal dialog problems the Windows user will currently experence with the CVS versions of Insight. You see the dialog flick on to the screen for a short time then disappear. (This doesn't fix the Windows crashing problem.) Ian. ChangeLog: 2001-12-11 Ian Roxborough * library/managedwin.itb (ManagedWin::_create): When making a modal window transient, use the source window as the master and not ".". Index: managedwin.itb =================================================================== RCS file: /cvs/src/src/gdb/gdbtk/library/managedwin.itb,v retrieving revision 1.17 diff -r1.17 managedwin.itb 258c258 < wm transient $top . --- > wm transient $top [winfo toplevel [namespace tail [lindex [ManagedWin::find SrcWin] 0]]]