From 122b80799249be33e66a4f716fdca6d80635a05e Mon Sep 17 00:00:00 2001 From: Gabriele Mazzotta Date: Sat, 15 Nov 2014 15:05:06 +0100 Subject: gitk: Enable mouse horizontal scrolling in diff pane Currently it's required to hold Shift and scroll up and down to move horizontally. Listen to Button-6 and Button-7 events too to make horizontal scrolling handier with touchpads and some mice. Signed-off-by: Gabriele Mazzotta Signed-off-by: Paul Mackerras --- gitk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gitk b/gitk index 462f966948..d42f28340f 100755 --- a/gitk +++ b/gitk @@ -2516,6 +2516,13 @@ proc makewindow {} { } else { bindall "allcanvs yview scroll -5 units" bindall "allcanvs yview scroll 5 units" + bind $ctext