gitk: Add support for OS X mouse wheel
authorJonathan del Strother <jon.delStrother@bestbefore.tv>
Mon, 15 Oct 2007 09:33:07 +0000 (10:33 +0100)
committerShawn O. Pearce <spearce@spearce.org>
Sat, 20 Oct 2007 03:06:33 +0000 (23:06 -0400)
commit5dd57d512225bb82aa0010b39aaec0085d471eac
treebb335331274698031fc92e0f7c5b3016be6b49e4
parent0166419a197cea0ceef3aed8c72023deb015ecf4
gitk: Add support for OS X mouse wheel

(Väinö Järvelä supplied this patch a while ago for 1.5.2.  It no longer
applied cleanly, so I'm reposting it.)

MacBook doesn't seem to recognize MouseRelease-4 and -5 events, at all.
So i added a support for the MouseWheel event, which i limited to Tcl/tk
aqua, as i couldn't test it neither on Linux or Windows. Tcl/tk needs to
be updated from the version that is shipped with OS X 10.4 Tiger, for
this patch to work.

Signed-off-by: Jonathan del Strother <jon.delStrother@bestbefore.tv>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
gitk