From: Gabriele Mazzotta Date: Sat, 15 Nov 2014 14:05:06 GMT Subject: [PATCH] gitk: Enable mouse horizontal scrolling in diff pane Message-ID: <1416060306-4048-1-git-send-email-gabriele.mzt@gmail.com> 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 --- gitk-git/gitk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gitk-git/gitk b/gitk-git/gitk index 78358a7..95a98e3 100755 --- a/gitk-git/gitk +++ b/gitk-git/gitk @@ -2516,6 +2516,13 @@ proc makewindow {} { } else { bindall "allcanvs yview scroll -5 units" bindall "allcanvs yview scroll 5 units" + bind $ctext