diff options
| author | Malfurious <m@lfurio.us> | 2020-06-26 22:47:41 -0400 |
|---|---|---|
| committer | Matt Hunter <m@lfurio.us> | 2026-01-17 20:00:23 -0500 |
| commit | 862cdd1f111b0e5b503fcfaf19f8dfeb6bf07486 (patch) | |
| tree | 652c00c0b1ee925e36ad4042023579affff722b0 /config.def.h | |
| parent | 91f6d03e84949289138000baaa63b1fbd1030f20 (diff) | |
| download | st-862cdd1f111b0e5b503fcfaf19f8dfeb6bf07486.tar.gz st-862cdd1f111b0e5b503fcfaf19f8dfeb6bf07486.zip | |
config: Set mouse scroll amount to 5 lines
Diffstat (limited to 'config.def.h')
| -rw-r--r-- | config.def.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/config.def.h b/config.def.h index 595ca3d..d0b7d25 100644 --- a/config.def.h +++ b/config.def.h @@ -177,7 +177,7 @@ static uint forcemousemod = ShiftMask; * Internal mouse shortcuts. * Beware that overloading Button1 will disable the selection. */ -const unsigned int mousescrollincrement = 1; +const unsigned int mousescrollincrement = 5; static MouseShortcut mshortcuts[] = { /* mask button function argument release */ { XK_ANY_MOD, Button4, kscrollup, {.i = mousescrollincrement}, 0, /* !alt */ -1 }, @@ -185,8 +185,8 @@ static MouseShortcut mshortcuts[] = { { XK_ANY_MOD, Button2, selpaste, {.i = 0}, 1 }, /* Be sure to modify Button4/5 codes whenever mousescrollincrement is updated! */ - { XK_ANY_MOD, Button4, ttysend, {.s = "\031"} }, - { XK_ANY_MOD, Button5, ttysend, {.s = "\005"} }, + { XK_ANY_MOD, Button4, ttysend, {.s = "\031\031\031\031\031"} }, + { XK_ANY_MOD, Button5, ttysend, {.s = "\005\005\005\005\005"} }, }; /* Internal keyboard shortcuts. */ |
