summaryrefslogtreecommitdiff
path: root/gitk-git
diff options
context:
space:
mode:
authorStefan Haller <stefan@haller-berlin.de>2010-11-14 12:22:56 (GMT)
committerPaul Mackerras <paulus@samba.org>2010-12-12 04:24:09 (GMT)
commit4adcbea06eaedd9235ac879bf0c6fbaefb0442fc (patch)
tree421bfd9387d882fb3cb716abeeec269a3144cd5e /gitk-git
parent120ea892a001db97c9ee83272e0c666e9825637a (diff)
downloadgit-4adcbea06eaedd9235ac879bf0c6fbaefb0442fc.zip
git-4adcbea06eaedd9235ac879bf0c6fbaefb0442fc.tar.gz
git-4adcbea06eaedd9235ac879bf0c6fbaefb0442fc.tar.bz2
gitk: Make text selectable on Mac
Stolen from git-gui, 23effa79f7 (original log message by Shawn O. Pearce <spearce@spearce.org> follows): git-gui: Force focus to the diff viewer on mouse click. Apparently a "feature" of Tcl/Tk on Mac OS X is that a disabled text widget cannot receive focus or receive a selection within it. This makes the diff viewer almost useless on that platform as you cannot select individual parts of the buffer. Now we force focus into the diff viewer when its clicked on with button 1. This works around the feature and allows selection to work within the viewer just like it does on other less sane systems, like Microsoft Windows. Signed-off-by: Stefan Haller <stefan@haller-berlin.de> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'gitk-git')
0 files changed, 0 insertions, 0 deletions