From 85e08cb558ec831e76ce267ed141f02e531f6382 Mon Sep 17 00:00:00 2001 From: dkf Date: Fri, 10 Apr 2009 10:21:50 +0000 Subject: Fix [Bug 2116837]. FossilOrigin-Name: 1266eccdd9efa76dd4b1c1a8cfea4bf2a79e7eca --- ChangeLog | 7 ++++++- library/tk.tcl | 35 +++++++++++++++++++---------------- 2 files changed, 25 insertions(+), 17 deletions(-) diff --git a/ChangeLog b/ChangeLog index a6b0c0d..b0dfcec 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,11 @@ +2009-04-10 Donal K. Fellows + + * library/tk.tcl: [Bug 2116837]: Add event definitions to handle the + standard virtual events when Caps Lock is on. + 2009-04-03 Joe English - * unix/tkUnixWm.c: Don't Panic [Bug 1789819]. + * unix/tkUnixWm.c: [Bug 1789819]: Don't Panic. 2009-03-25 Donal K. Fellows diff --git a/library/tk.tcl b/library/tk.tcl index 1629bda..1913941 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.73.2.8 2008/12/21 21:02:58 dgp Exp $ +# RCS: @(#) $Id: tk.tcl,v 1.73.2.9 2009/04/10 10:21:51 dkf Exp $ # # Copyright (c) 1992-1994 The Regents of the University of California. # Copyright (c) 1994-1996 Sun Microsystems, Inc. @@ -357,12 +357,12 @@ if {![llength [info command tk_chooseDirectory]]} { switch -exact -- [tk windowingsystem] { "x11" { - event add <> - event add <> - event add <> + event add <> + event add <> + event add <> event add <> - event add <> - event add <> + event add <> + event add <> # Some OS's define a goofy (as in, not ) keysym # that is returned when the user presses . In order for # tab traversal to work, we have to add these keysyms to the @@ -380,21 +380,24 @@ switch -exact -- [tk windowingsystem] { set ::tk::AlwaysShowSelection 1 } "win32" { - event add <> - event add <> - event add <> + event add <> \ + + event add <> \ + + event add <> \ + event add <> - event add <> - event add <> + event add <> + event add <> } "aqua" { - event add <> - event add <> - event add <> + event add <> + event add <> + event add <> event add <> event add <> - event add <> - event add <> + event add <> + event add <> } } # ---------------------------------------------------------------------- -- cgit v0.12