diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-04-20 12:16:36 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-04-20 12:16:36 (GMT) |
commit | 8077dd948e9d7c758be18837a1cc637007e50084 (patch) | |
tree | b6b2163dafeff1c9a7328e67b75329e8a9f4ff83 /library/bgerror.tcl | |
parent | 95c5b39b2e335c0fc08a25281ad9097a29aee1ae (diff) | |
parent | f4876885b53d6ed34fb1c3577e0c2d238a871953 (diff) | |
download | tk-8077dd948e9d7c758be18837a1cc637007e50084.zip tk-8077dd948e9d7c758be18837a1cc637007e50084.tar.gz tk-8077dd948e9d7c758be18837a1cc637007e50084.tar.bz2 |
Use vroot size in stead of screen size for clipping window coordinates in ::tk::PlaceWindow.
Use ::tk::PlaceWindow in dialog.tcl, in stead of dumplicating the code there.
Diffstat (limited to 'library/bgerror.tcl')
-rw-r--r-- | library/bgerror.tcl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/library/bgerror.tcl b/library/bgerror.tcl index 4ecabd8..06c72a1 100644 --- a/library/bgerror.tcl +++ b/library/bgerror.tcl @@ -242,8 +242,9 @@ proc ::tk::dialog::error::bgerror err { bind .bgerrorDialog <Destroy> [namespace code [list Destroy %W]] .bgerrorDialog.function configure -command [namespace code Details] - # 6. Update all the geometry information so we know how big it wants - # to be, then center the window in the display and deiconify it. + # 6. Withdraw the window, then update all the geometry information + # so we know how big it wants to be, then center the window in the + # display (Motif style) and de-iconify it. ::tk::PlaceWindow .bgerrorDialog |