diff options
author | patthoyts@users.sourceforge.net <patthoyts> | 2010-01-23 01:36:03 (GMT) |
---|---|---|
committer | patthoyts@users.sourceforge.net <patthoyts> | 2010-01-23 01:36:03 (GMT) |
commit | da8125cfe98be1e57e80066952ce38b57e8eb4e5 (patch) | |
tree | 8500a7a8b539c7fd4556fc1e9ebfc09d25c5b9f6 /library/clrpick.tcl | |
parent | 64c2b5e04623c520fab5ac7671d3cf908776b55b (diff) | |
download | tk-da8125cfe98be1e57e80066952ce38b57e8eb4e5.zip tk-da8125cfe98be1e57e80066952ce38b57e8eb4e5.tar.gz tk-da8125cfe98be1e57e80066952ce38b57e8eb4e5.tar.bz2 |
TIP #359: Extended Window Manager Hints support for 8.4
Diffstat (limited to 'library/clrpick.tcl')
-rw-r--r-- | library/clrpick.tcl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/library/clrpick.tcl b/library/clrpick.tcl index ac47150..cb4b6d4 100644 --- a/library/clrpick.tcl +++ b/library/clrpick.tcl @@ -3,7 +3,7 @@ # Color selection dialog for platforms that do not support a # standard color selection dialog. # -# RCS: @(#) $Id: clrpick.tcl,v 1.20.2.2 2006/03/17 10:50:11 patthoyts Exp $ +# RCS: @(#) $Id: clrpick.tcl,v 1.20.2.3 2010/01/23 01:36:03 patthoyts Exp $ # # Copyright (c) 1996 Sun Microsystems, Inc. # @@ -74,6 +74,7 @@ proc ::tk::dialog::color:: {args} { destroy $w } toplevel $w -class TkColorDialog -screen $sc + if {[tk windowingsystem] eq "x11"} {wm attributes $w -type dialog} BuildDialog $w } |