Introduction
Introduction Statistics Contact Development Disclaimer Help
st-scrollback-mouse-increment-0.9.2.diff - sites - public wiki contents of suck…
git clone git://git.suckless.org/sites
Log
Files
Refs
---
st-scrollback-mouse-increment-0.9.2.diff (1252B)
---
1 From bf7f0cf6ff2b47c65f750de6e30dce09a34f9201 Mon Sep 17 00:00:00 2001
2 From: Jernej Jakob <[email protected]>
3 Date: Mon, 1 Jul 2024 14:02:36 +0200
4 Subject: [PATCH] [st][patch] Update st-scrollback-mouse-increment for 0.…
5
6 ---
7 config.def.h | 5 +++--
8 1 file changed, 3 insertions(+), 2 deletions(-)
9
10 diff --git a/config.def.h b/config.def.h
11 index d259675..0c427ee 100644
12 --- a/config.def.h
13 +++ b/config.def.h
14 @@ -174,10 +174,11 @@ static uint forcemousemod = ShiftMask;
15 * Internal mouse shortcuts.
16 * Beware that overloading Button1 will disable the selection.
17 */
18 +const unsigned int mousescrollincrement = 1;
19 static MouseShortcut mshortcuts[] = {
20 /* mask button function argument …
21 - { ShiftMask, Button4, kscrollup, {.i = 1} },
22 - { ShiftMask, Button5, kscrolldown, {.i = 1} },
23 + { ShiftMask, Button4, kscrollup, {.i = mousescr…
24 + { ShiftMask, Button5, kscrolldown, {.i = mousescr…
25 { XK_ANY_MOD, Button2, selpaste, {.i = 0}, …
26 { ShiftMask, Button4, ttysend, {.s = "\033[5;…
27 { XK_ANY_MOD, Button4, ttysend, {.s = "\031"} …
28 --
29 2.44.2
30
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.