summaryrefslogtreecommitdiff
path: root/patches/st-scrollback-mouse-increment-0.8.2.diff
diff options
context:
space:
mode:
authorZachIR <zachir@librem.one>2025-07-08 20:39:57 -0500
committerZachIR <zachir@librem.one>2025-07-08 20:39:57 -0500
commit38d2f7ba589e8ee0ee5ded7915952ed094e3a51a (patch)
treeb98c891bcd03dcbc6a9ebae038d154a472febe8a /patches/st-scrollback-mouse-increment-0.8.2.diff
parent8cda47f8e8b2db37f5c69b4cdb748ac31a2e6e23 (diff)
Start from scratch on version 0.9.2
Diffstat (limited to 'patches/st-scrollback-mouse-increment-0.8.2.diff')
-rw-r--r--patches/st-scrollback-mouse-increment-0.8.2.diff34
1 files changed, 0 insertions, 34 deletions
diff --git a/patches/st-scrollback-mouse-increment-0.8.2.diff b/patches/st-scrollback-mouse-increment-0.8.2.diff
deleted file mode 100644
index 9556a9d..0000000
--- a/patches/st-scrollback-mouse-increment-0.8.2.diff
+++ /dev/null
@@ -1,34 +0,0 @@
-From 63e717e51dcd2f59c7a3aa75b659926aa92e08f3 Mon Sep 17 00:00:00 2001
-From: Jacob Louis Prosser <geriatricjacob@cumallover.me>
-Date: Mon, 5 Aug 2019 18:20:25 +1000
-Subject: [st] [patch] Exposed variable to easily change mouse scroll increment.
-
----
- config.def.h | 5 +++--
- 1 file changed, 3 insertions(+), 2 deletions(-)
-
-diff --git a/config.def.h b/config.def.h
-index ad20c4c..47e4b66 100644
---- a/config.def.h
-+++ b/config.def.h
-@@ -154,6 +154,7 @@ static unsigned int defaultattr = 11;
- * Internal mouse shortcuts.
- * Beware that overloading Button1 will disable the selection.
- */
-+const unsigned int mousescrollincrement = 1;
- static MouseShortcut mshortcuts[] = {
- /* button mask string */
- { Button4, XK_NO_MOD, "\031" },
-@@ -162,8 +163,8 @@ static MouseShortcut mshortcuts[] = {
-
- MouseKey mkeys[] = {
- /* button mask function argument */
-- { Button4, ShiftMask, kscrollup, {.i = 1} },
-- { Button5, ShiftMask, kscrolldown, {.i = 1} },
-+ { Button4, ShiftMask, kscrollup, {.i = mousescrollincrement} },
-+ { Button5, ShiftMask, kscrolldown, {.i = mousescrollincrement} },
- };
-
- /* Internal keyboard shortcuts. */
---
-2.22.0