diff options
author | patthoyts <patthoyts@users.sourceforge.net> | 2010-01-20 23:43:50 (GMT) |
---|---|---|
committer | patthoyts <patthoyts@users.sourceforge.net> | 2010-01-20 23:43:50 (GMT) |
commit | 8653f8ec25290721bc6fac2a9c68bbff0a4c4eb3 (patch) | |
tree | 57e880fe1efd95782a3cb841debb5d8e410fd021 /library/clrpick.tcl | |
parent | 545af346b6b7f4d2e3c1bfa931e01202c6c7808d (diff) | |
download | tk-8653f8ec25290721bc6fac2a9c68bbff0a4c4eb3.zip tk-8653f8ec25290721bc6fac2a9c68bbff0a4c4eb3.tar.gz tk-8653f8ec25290721bc6fac2a9c68bbff0a4c4eb3.tar.bz2 |
TIP #359: Extended window manager hints support for X11.
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 216cdb8..b249e31 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.22 2006/03/17 11:13:15 patthoyts Exp $ +# RCS: @(#) $Id: clrpick.tcl,v 1.22.4.1 2010/01/20 23:43:51 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 } |