diff options
| author | stkhan <personal@slickd.xyz> | 2021-06-23 21:21:08 -0500 |
|---|---|---|
| committer | stkhan <personal@slickd.xyz> | 2021-06-23 21:21:08 -0500 |
| commit | d23e1969acfdb5d6212e3e796b33963d47e01c08 (patch) | |
| tree | f0fa005a5c118ad00f23c4c68fe64d0712a2a285 /st-0.8.4/patches/st-scrollback-mouse-20191024-a2c479c.diff | |
| parent | 7ee7c74831b87a60291db335a272ed4ba3c27496 (diff) | |
sarc 1.0.0
Former-commit-id: 0154c723c80f3fec789ad09e43749cdffd0f6503
Diffstat (limited to 'st-0.8.4/patches/st-scrollback-mouse-20191024-a2c479c.diff')
| -rw-r--r-- | st-0.8.4/patches/st-scrollback-mouse-20191024-a2c479c.diff | 13 |
1 files changed, 13 insertions, 0 deletions
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"} }, |