summaryrefslogtreecommitdiff
path: root/patches/06th-scrollback-mouse-20191024-a2c479c.diff
diff options
context:
space:
mode:
authorSaumit Dinesan <justsaumit@protonmail.com>2022-09-04 19:44:46 +0530
committerSaumit Dinesan <justsaumit@protonmail.com>2022-09-04 19:44:46 +0530
commit70c5970847660f622ab23ac44bb16520caa2d433 (patch)
tree98b29b5bf471e18b056715caef4ab128a9bdff8c /patches/06th-scrollback-mouse-20191024-a2c479c.diff
parent34a38a7965e1d62a2f7995c6defc395c94d34de8 (diff)
Adding patches folder
Diffstat (limited to 'patches/06th-scrollback-mouse-20191024-a2c479c.diff')
-rw-r--r--patches/06th-scrollback-mouse-20191024-a2c479c.diff13
1 files changed, 13 insertions, 0 deletions
diff --git a/patches/06th-scrollback-mouse-20191024-a2c479c.diff b/patches/06th-scrollback-mouse-20191024-a2c479c.diff
new file mode 100644
index 0000000..49eba8e
--- /dev/null
+++ b/patches/06th-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"} },