summaryrefslogtreecommitdiffstats
path: root/library/bgerror.tcl
diff options
context:
space:
mode:
authorpatthoyts <patthoyts@users.sourceforge.net>2010-01-23 01:36:03 (GMT)
committerpatthoyts <patthoyts@users.sourceforge.net>2010-01-23 01:36:03 (GMT)
commit733aa079ae7a00cc9a223dbe7c241d80b375021e (patch)
tree8500a7a8b539c7fd4556fc1e9ebfc09d25c5b9f6 /library/bgerror.tcl
parent8b4e67afad45324f1e560417e3429252383c1263 (diff)
downloadtk-733aa079ae7a00cc9a223dbe7c241d80b375021e.zip
tk-733aa079ae7a00cc9a223dbe7c241d80b375021e.tar.gz
tk-733aa079ae7a00cc9a223dbe7c241d80b375021e.tar.bz2
TIP #359: Extended Window Manager Hints support for 8.4
Diffstat (limited to 'library/bgerror.tcl')
-rw-r--r--library/bgerror.tcl6
1 files changed, 4 insertions, 2 deletions
diff --git a/library/bgerror.tcl b/library/bgerror.tcl
index 2e6229b..b0b3d9d 100644
--- a/library/bgerror.tcl
+++ b/library/bgerror.tcl
@@ -9,8 +9,8 @@
# Copyright (c) 1998-2000 by Ajuba Solutions.
# Copyright (c) 2007 Daniel A. Steffen <das@users.sourceforge.net>
#
-# RCS: @(#) $Id: bgerror.tcl,v 1.23.2.9 2007/11/09 06:26:54 das Exp $
-# $Id: bgerror.tcl,v 1.23.2.9 2007/11/09 06:26:54 das Exp $
+# RCS: @(#) $Id: bgerror.tcl,v 1.23.2.10 2010/01/23 01:36:03 patthoyts Exp $
+# $Id: bgerror.tcl,v 1.23.2.10 2010/01/23 01:36:03 patthoyts Exp $
namespace eval ::tk::dialog::error {
namespace import -force ::tk::msgcat::*
@@ -149,6 +149,8 @@ proc ::tk::dialog::error::bgerror err {
if {($tcl_platform(platform) eq "macintosh")
|| ($windowingsystem eq "aqua")} {
::tk::unsupported::MacWindowStyle style .bgerrorDialog moveableAlert {}
+ } elseif {$windowingsystem eq "x11"} {
+ wm attributes .bgerrorDialog -type dialog
}
frame .bgerrorDialog.bot