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 | caf0301df08837ddbdbd72d517693497fd4ecdfe (patch) | |
tree | 57e880fe1efd95782a3cb841debb5d8e410fd021 /library/bgerror.tcl | |
parent | 1194c72f25a0e42a36978e2ba295809255856e49 (diff) | |
download | tk-caf0301df08837ddbdbd72d517693497fd4ecdfe.zip tk-caf0301df08837ddbdbd72d517693497fd4ecdfe.tar.gz tk-caf0301df08837ddbdbd72d517693497fd4ecdfe.tar.bz2 |
TIP #359: Extended window manager hints support for X11.
Diffstat (limited to 'library/bgerror.tcl')
-rw-r--r-- | library/bgerror.tcl | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/library/bgerror.tcl b/library/bgerror.tcl index a169e8c..af4f7c0 100644 --- a/library/bgerror.tcl +++ b/library/bgerror.tcl @@ -10,8 +10,8 @@ # Copyright (c) 2007 by ActiveState Software Inc. # Copyright (c) 2007 Daniel A. Steffen <das@users.sourceforge.net> # -# RCS: @(#) $Id: bgerror.tcl,v 1.38 2007/12/13 15:26:26 dgp Exp $ -# $Id: bgerror.tcl,v 1.38 2007/12/13 15:26:26 dgp Exp $ +# RCS: @(#) $Id: bgerror.tcl,v 1.38.2.1 2010/01/20 23:43:50 patthoyts Exp $ +# $Id: bgerror.tcl,v 1.38.2.1 2010/01/20 23:43:50 patthoyts Exp $ namespace eval ::tk::dialog::error { namespace import -force ::tk::msgcat::* @@ -142,6 +142,8 @@ proc ::tk::dialog::error::bgerror err { if {$windowingsystem eq "aqua"} { ::tk::unsupported::MacWindowStyle style $dlg moveableAlert {} + } elseif {$windowingsystem eq "x11"} { + wm attributes $dlg -type dialog } frame $dlg.bot |