mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-12 04:27:51 -05:00
term: fix mouse button mapping to X button numbers
BACK should be 4, FORWARD 5.
This commit is contained in:
parent
3ae210d4c5
commit
c15d546740
1 changed files with 2 additions and 2 deletions
|
|
@ -389,8 +389,8 @@ linux_mouse_button_to_x(int button)
|
|||
case BTN_MIDDLE: return 2;
|
||||
case BTN_SIDE: return 8;
|
||||
case BTN_EXTRA: return 9;
|
||||
case BTN_FORWARD: return 4;
|
||||
case BTN_BACK: return 5;
|
||||
case BTN_BACK: return 4;
|
||||
case BTN_FORWARD: return 5;
|
||||
case BTN_TASK: return -1; /* TODO: ??? */
|
||||
|
||||
default:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue