diff options
| author | Malfurious <m@lfurio.us> | 2020-06-26 22:47:41 -0400 |
|---|---|---|
| committer | Matt Hunter <m@lfurio.us> | 2026-02-06 00:31:41 -0500 |
| commit | 3728de46418d26edffc21ac017d52ab668175b0b (patch) | |
| tree | 949b70daf7bbe68a36b37df58714d3e3a321ca55 | |
| parent | 661c14cbc1cccc11505d66d8fb24099255817f77 (diff) | |
| download | st-3728de46418d26edffc21ac017d52ab668175b0b.tar.gz st-3728de46418d26edffc21ac017d52ab668175b0b.zip | |
config: Set mouse scroll amount to 5 lines
| -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 1c11c24..572ee7e 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. */ |
