summaryrefslogtreecommitdiff
path: root/patches/6th-scrollback-mouse-20191024-a2c479c.diff
diff options
context:
space:
mode:
authorSaumit Dinesan <79687674+Saumit-D@users.noreply.github.com>2021-11-08 01:04:01 +0530
committerGitHub <noreply@github.com>2021-11-08 01:04:01 +0530
commitb0cdb03b42f9a8271a8bd7a6aaf64e349348ef1f (patch)
tree6364c178ae5fc1e46b4f4763177ea5eaac92bb0d /patches/6th-scrollback-mouse-20191024-a2c479c.diff
parent969181146766a21572acdd97241cdae006e7a2b0 (diff)
Rename 5th-scrollback-mouse-20191024-a2c479c.diff to 6th-scrollback-mouse-20191024-a2c479c.diff
Diffstat (limited to 'patches/6th-scrollback-mouse-20191024-a2c479c.diff')
-rw-r--r--patches/6th-scrollback-mouse-20191024-a2c479c.diff13
1 files changed, 13 insertions, 0 deletions
diff --git a/patches/6th-scrollback-mouse-20191024-a2c479c.diff b/patches/6th-scrollback-mouse-20191024-a2c479c.diff
new file mode 100644
index 0000000..49eba8e
--- /dev/null
+++ b/patches/6th-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"} },