mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-04 07:15:29 -04: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_MIDDLE: return 2;
|
||||||
case BTN_SIDE: return 8;
|
case BTN_SIDE: return 8;
|
||||||
case BTN_EXTRA: return 9;
|
case BTN_EXTRA: return 9;
|
||||||
case BTN_FORWARD: return 4;
|
case BTN_BACK: return 4;
|
||||||
case BTN_BACK: return 5;
|
case BTN_FORWARD: return 5;
|
||||||
case BTN_TASK: return -1; /* TODO: ??? */
|
case BTN_TASK: return -1; /* TODO: ??? */
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue