diff options
author | das <das> | 2007-04-29 02:24:49 (GMT) |
---|---|---|
committer | das <das> | 2007-04-29 02:24:49 (GMT) |
commit | 1a476a1767db9dd2a37ed65dbe0cd3a24413d4b4 (patch) | |
tree | 83616c330ca5ebe0f636c1c22df4a55c86ce6f36 /library/tk.tcl | |
parent | 1cb29bfc3b4440becbbb83a55e3617c04fd3f4f4 (diff) | |
download | tk-1a476a1767db9dd2a37ed65dbe0cd3a24413d4b4.zip tk-1a476a1767db9dd2a37ed65dbe0cd3a24413d4b4.tar.gz tk-1a476a1767db9dd2a37ed65dbe0cd3a24413d4b4.tar.bz2 |
* library/bgerror.tcl: on aqua, use moveable alert resp. modal dialog
* library/dialog.tcl: window class and corresponding system
background pattern; fix button padding.
* library/tearoff.tcl: correct aqua menu bar height; vertically offset
* library/tk.tcl: aqua tearoff floating window to match menu.
Diffstat (limited to 'library/tk.tcl')
-rw-r--r-- | library/tk.tcl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/library/tk.tcl b/library/tk.tcl index 2abd90f..f656e9a 100644 --- a/library/tk.tcl +++ b/library/tk.tcl @@ -3,7 +3,7 @@ # Initialization script normally executed in the interpreter for each # Tk-based application. Arranges class bindings for widgets. # -# RCS: @(#) $Id: tk.tcl,v 1.46.2.6 2006/09/25 17:28:20 andreas_kupries Exp $ +# RCS: @(#) $Id: tk.tcl,v 1.46.2.7 2007/04/29 02:24:49 das Exp $ # # Copyright (c) 1992-1994 The Regents of the University of California. # Copyright (c) 1994-1996 Sun Microsystems, Inc. @@ -123,9 +123,9 @@ proc ::tk::PlaceWindow {w {place ""} {anchor ""}} { } elseif {$y > ([winfo screenheight $w]-[winfo reqheight $w])} { set y [expr {[winfo screenheight $w]-[winfo reqheight $w]}] } - if {$windowingsystem eq "macintosh" || $windowingsystem eq "aqua"} { + if {$windowingsystem eq "classic" || $windowingsystem eq "aqua"} { # Avoid the native menu bar which sits on top of everything. - if {$y < 20} { set y 20 } + if {$y < 22} { set y 22 } } } wm geometry $w +$x+$y |