st-scrollback-mouse-20191024-a2c479c.diff (622B)
1 diff --git a/config.def.h b/config.def.h 2 index ec1b576..4b3bf15 100644 3 --- a/config.def.h 4 +++ b/config.def.h 5 @@ -163,6 +163,8 @@ static uint forcemousemod = ShiftMask; 6 */ 7 static MouseShortcut mshortcuts[] = { 8 /* mask button function argument release */ 9 + { ShiftMask, Button4, kscrollup, {.i = 1} }, 10 + { ShiftMask, Button5, kscrolldown, {.i = 1} }, 11 { XK_ANY_MOD, Button2, selpaste, {.i = 0}, 1 }, 12 { XK_ANY_MOD, Button4, ttysend, {.s = "\031"} }, 13 { XK_ANY_MOD, Button5, ttysend, {.s = "\005"} },