summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhobbs <hobbs>2001-03-30 07:04:35 (GMT)
committerhobbs <hobbs>2001-03-30 07:04:35 (GMT)
commitcd56bcc2c36de8045f5cca34180cd072505ab2f7 (patch)
treeb4d9c7ba50ad8058e8b5683853496cd89debdcd9
parentb398ed03ff63695583c69ddce9039740d5c9406c (diff)
downloadtk-cd56bcc2c36de8045f5cca34180cd072505ab2f7.zip
tk-cd56bcc2c36de8045f5cca34180cd072505ab2f7.tar.gz
tk-cd56bcc2c36de8045f5cca34180cd072505ab2f7.tar.bz2
* library/tk.tcl: put a catch around adding <hpBackTab> to the
<<PrevWindow>> virtual event as it doesn't seem to work on all HP systems. [Bug #411669]
-rw-r--r--library/tk.tcl7
1 files changed, 5 insertions, 2 deletions
diff --git a/library/tk.tcl b/library/tk.tcl
index 1428a9d..b49362b 100644
--- a/library/tk.tcl
+++ b/library/tk.tcl
@@ -3,7 +3,7 @@
# Initialization script normally executed in the interpreter for each
# Tk-based application. Arranges class bindings for widgets.
#
-# RCS: @(#) $Id: tk.tcl,v 1.27 2000/10/31 01:12:38 hobbs Exp $
+# RCS: @(#) $Id: tk.tcl,v 1.28 2001/03/30 07:04:35 hobbs Exp $
#
# Copyright (c) 1992-1994 The Regents of the University of California.
# Copyright (c) 1994-1996 Sun Microsystems, Inc.
@@ -291,7 +291,10 @@ switch $tcl_platform(platform) {
switch $tcl_platform(os) {
"IRIX" -
"Linux" { event add <<PrevWindow>> <ISO_Left_Tab> }
- "HP-UX" { event add <<PrevWindow>> <hpBackTab> }
+ "HP-UX" {
+ # This seems to be correct on *some* HP systems.
+ catch { event add <<PrevWindow>> <hpBackTab> }
+ }
}
}
trace variable tk_strictMotif w tkEventMotifBindings