Commit 7c06c19
committed
gitk: use <Button-3> for ctx menus on macOS with Tcl 8.7+
Commit d277e89 added special handling
on macOS (OS X) that makes button 2 the right mouse button. As per TIP
474 [1], Tcl 8.7 has swapped buttons 2 and 3 such that button 3 is made
the right mouse button as in other platforms. Therefore, the logic
should be updated to use button 3 on macOS with Tcl 8.7+.
[1]: https://core.tcl-lang.org/tips/doc/main/tip/474.md
Signed-off-by: Ruoyu Zhong <zhongruoyu@outlook.com>1 parent 93ff79e commit 7c06c19
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12596 | 12596 | | |
12597 | 12597 | | |
12598 | 12598 | | |
12599 | | - | |
| 12599 | + | |
12600 | 12600 | | |
12601 | 12601 | | |
12602 | 12602 | | |
| |||
0 commit comments