diff options
author | patthoyts <patthoyts@noemail.net> | 2010-01-09 00:51:38 (GMT) |
---|---|---|
committer | patthoyts <patthoyts@noemail.net> | 2010-01-09 00:51:38 (GMT) |
commit | 9666b58dc659f34b9fe1cf11d3e3bc8cc9bc84d6 (patch) | |
tree | c938a08a0a678266d994610d4f840633a47b8297 /library/obsolete.tcl | |
parent | 1beafd89f59f62af8a6bd49e812b111898fe7a02 (diff) | |
download | tk-9666b58dc659f34b9fe1cf11d3e3bc8cc9bc84d6.zip tk-9666b58dc659f34b9fe1cf11d3e3bc8cc9bc84d6.tar.gz tk-9666b58dc659f34b9fe1cf11d3e3bc8cc9bc84d6.tar.bz2 |
TIP 360: Make Tk menu activation follow mouse movements.
FossilOrigin-Name: 76e0431e742793b14529de81cf0ebcf201a3fc51
Diffstat (limited to 'library/obsolete.tcl')
-rw-r--r-- | library/obsolete.tcl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/library/obsolete.tcl b/library/obsolete.tcl index 327fc02..b6cdc53 100644 --- a/library/obsolete.tcl +++ b/library/obsolete.tcl @@ -3,7 +3,7 @@ # This file contains obsolete procedures that people really shouldn't # be using anymore, but which are kept around for backward compatibility. # -# RCS: @(#) $Id: obsolete.tcl,v 1.4 2007/12/13 15:26:27 dgp Exp $ +# RCS: @(#) $Id: obsolete.tcl,v 1.4.2.1 2010/01/09 00:51:38 patthoyts Exp $ # # Copyright (c) 1994 The Regents of the University of California. # Copyright (c) 1994 Sun Microsystems, Inc. @@ -117,6 +117,7 @@ proc ::tk::classic::restore_menu {args} { if {[tk windowingsystem] eq "x11"} { option add *Menu.activeBorderWidth 2 $prio; # 1 option add *Menu.borderWidth 2 $prio; # 1 + option add *Menu.clickToFocus true $prio } if {[tk windowingsystem] ne "aqua"} { option add *Menu.font "TkDefaultFont" $prio; # "TkMenuFont" |