diff options
Diffstat (limited to 'st/patches/st-scrollback-mouse-20191024-a2c479c.diff')
-rw-r--r-- | st/patches/st-scrollback-mouse-20191024-a2c479c.diff | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/st/patches/st-scrollback-mouse-20191024-a2c479c.diff b/st/patches/st-scrollback-mouse-20191024-a2c479c.diff new file mode 100644 index 0000000..49eba8e --- /dev/null +++ b/st/patches/st-scrollback-mouse-20191024-a2c479c.diff | |||
@@ -0,0 +1,13 @@ | |||
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"} }, | ||