* util.tcl (keep_raised): For some reason raising a window, then
deiconifying it is MUCH faster on "e" & WindowMaker under XFree.
Go figure. Other WM's don't seem to care, so do it this way...
* managedwin.itb (ManagedWin::reveal): Ditto...
+2000-03-10 James Ingham <jingham@leda.cygnus.com>
+
+ * util.tcl (keep_raised): For some reason raising a window, then
+ deiconifying it is MUCH faster on "e" & WindowMaker under XFree.
+ Go figure. Other WM's don't seem to care, so do it this way...
+ * managedwin.itb (ManagedWin::reveal): Ditto...
+
2000-03-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* srcbar.tcl (do_attach): Just call gdbtk_attach_native.
update idletasks
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
- raise $top
}
body ManagedWin::restart {} {
# A helper procedure to keep a window on top.
proc keep_raised {top} {
if {[winfo exists $top]} {
- wm deiconify $top
raise $top
+ wm deiconify $top
after 1000 [info level 0]
}
}