2000-12-07 Tom Tromey <tromey@redhat.com>
+ * managedwin.itb (ManagedWin::reveal): Don't set focus.
+
* tclIndex: Rebuilt.
* interface.tcl (set_exe_name): Save session.
(gdbtk_quit_check): Save session.
set top [winfo toplevel [namespace tail $this]]
raise $top
wm deiconify $top
-
- # I don't understand this next line and no one commented it, so it's gone.
- #focus -force [focus -lastfor $top]
-
- focus $top
+
+ # There used to be a `focus -force' here, but using -force is
+ # unfriendly, so it was removed. It was then replaced with a simple
+ # `focus $top'. However, this has no useful effect -- it just
+ # resets the subwindow of $top which has the `potential' focus.
+ # This can actually be confusing to the user.
}
body ManagedWin::restart {} {