From d23e1969acfdb5d6212e3e796b33963d47e01c08 Mon Sep 17 00:00:00 2001 From: stkhan Date: Wed, 23 Jun 2021 21:21:08 -0500 Subject: sarc 1.0.0 Former-commit-id: 0154c723c80f3fec789ad09e43749cdffd0f6503 --- st-0.8.4/patches/st-scrollback-mouse-20191024-a2c479c.diff | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 st-0.8.4/patches/st-scrollback-mouse-20191024-a2c479c.diff (limited to 'st-0.8.4/patches/st-scrollback-mouse-20191024-a2c479c.diff') diff --git a/st-0.8.4/patches/st-scrollback-mouse-20191024-a2c479c.diff b/st-0.8.4/patches/st-scrollback-mouse-20191024-a2c479c.diff new file mode 100644 index 0000000..49eba8e --- /dev/null +++ b/st-0.8.4/patches/st-scrollback-mouse-20191024-a2c479c.diff @@ -0,0 +1,13 @@ +diff --git a/config.def.h b/config.def.h +index ec1b576..4b3bf15 100644 +--- a/config.def.h ++++ b/config.def.h +@@ -163,6 +163,8 @@ static uint forcemousemod = ShiftMask; + */ + static MouseShortcut mshortcuts[] = { + /* mask button function argument release */ ++ { ShiftMask, Button4, kscrollup, {.i = 1} }, ++ { ShiftMask, Button5, kscrolldown, {.i = 1} }, + { XK_ANY_MOD, Button2, selpaste, {.i = 0}, 1 }, + { XK_ANY_MOD, Button4, ttysend, {.s = "\031"} }, + { XK_ANY_MOD, Button5, ttysend, {.s = "\005"} }, -- cgit v1.2.3