st-scrollback-mouse-0.9.2.diff (917B)
1 From 6b7e7e6c5c44dd6347ad49691b80d808c1b0cb77 Mon Sep 17 00:00:00 2001 2 From: Jernej Jakob <jernej.jakob@gmail.com> 3 Date: Mon, 1 Jul 2024 14:00:02 +0200 4 Subject: [PATCH] [st][patch] Update st-scrollback-mouse for 0.9.2 5 6 --- 7 config.def.h | 2 ++ 8 1 file changed, 2 insertions(+) 9 10 diff --git a/config.def.h b/config.def.h 11 index 8b25d40..d259675 100644 12 --- a/config.def.h 13 +++ b/config.def.h 14 @@ -176,6 +176,8 @@ static uint forcemousemod = ShiftMask; 15 */ 16 static MouseShortcut mshortcuts[] = { 17 /* mask button function argument release */ 18 + { ShiftMask, Button4, kscrollup, {.i = 1} }, 19 + { ShiftMask, Button5, kscrolldown, {.i = 1} }, 20 { XK_ANY_MOD, Button2, selpaste, {.i = 0}, 1 }, 21 { ShiftMask, Button4, ttysend, {.s = "\033[5;2~"} }, 22 { XK_ANY_MOD, Button4, ttysend, {.s = "\031"} }, 23 -- 24 2.44.2 25