summaryrefslogtreecommitdiffstats
path: root/library/clrpick.tcl
diff options
context:
space:
mode:
authornijtmans@users.sourceforge.net <jan.nijtmans>2012-04-20 12:23:56 (GMT)
committernijtmans@users.sourceforge.net <jan.nijtmans>2012-04-20 12:23:56 (GMT)
commit975a734059bb123bb21de584a0856d7e09bd4271 (patch)
treeab880bbfe157359df231d47bd8a411c4f405cc03 /library/clrpick.tcl
parent9366a3b460d6b81f5cab38d78921c195a8349a8f (diff)
parenta2ff6197200d4070abc990f1aad8f468f35c0f99 (diff)
downloadtk-975a734059bb123bb21de584a0856d7e09bd4271.zip
tk-975a734059bb123bb21de584a0856d7e09bd4271.tar.gz
tk-975a734059bb123bb21de584a0856d7e09bd4271.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/clrpick.tcl')
-rw-r--r--library/clrpick.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/clrpick.tcl b/library/clrpick.tcl
index 712c45d..092915c 100644
--- a/library/clrpick.tcl
+++ b/library/clrpick.tcl
@@ -89,7 +89,7 @@ proc ::tk::dialog::color:: {args} {
# 5. 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 and de-iconify it.
+ # display (Motif style) and de-iconify it.
::tk::PlaceWindow $w widget $data(-parent)
wm title $w $data(-title)