summaryrefslogtreecommitdiffstats
path: root/library/tkfbox.tcl
diff options
context:
space:
mode:
authorpatthoyts <patthoyts@users.sourceforge.net>2010-01-20 23:43:50 (GMT)
committerpatthoyts <patthoyts@users.sourceforge.net>2010-01-20 23:43:50 (GMT)
commit8653f8ec25290721bc6fac2a9c68bbff0a4c4eb3 (patch)
tree57e880fe1efd95782a3cb841debb5d8e410fd021 /library/tkfbox.tcl
parent545af346b6b7f4d2e3c1bfa931e01202c6c7808d (diff)
downloadtk-8653f8ec25290721bc6fac2a9c68bbff0a4c4eb3.zip
tk-8653f8ec25290721bc6fac2a9c68bbff0a4c4eb3.tar.gz
tk-8653f8ec25290721bc6fac2a9c68bbff0a4c4eb3.tar.bz2
TIP #359: Extended window manager hints support for X11.
Diffstat (limited to 'library/tkfbox.tcl')
-rw-r--r--library/tkfbox.tcl3
1 files changed, 2 insertions, 1 deletions
diff --git a/library/tkfbox.tcl b/library/tkfbox.tcl
index ccf984c..efde934 100644
--- a/library/tkfbox.tcl
+++ b/library/tkfbox.tcl
@@ -11,7 +11,7 @@
# files by clicking on the file icons or by entering a filename
# in the "Filename:" entry.
#
-# RCS: @(#) $Id: tkfbox.tcl,v 1.68.2.4 2009/12/22 18:16:05 dkf Exp $
+# RCS: @(#) $Id: tkfbox.tcl,v 1.68.2.5 2010/01/20 23:43:51 patthoyts Exp $
#
# Copyright (c) 1994-1998 Sun Microsystems, Inc.
#
@@ -1047,6 +1047,7 @@ proc ::tk::dialog::file::Create {w class} {
global tk_library
toplevel $w -class $class
+ if {[tk windowingsystem] eq "x11"} {wm attributes $w -type dialog}
pack [ttk::frame $w.contents] -expand 1 -fill both
#set w $w.contents