diff options
author | Shubham Saini <shubham6405@gmail.com> | 2020-05-16 17:43:31 +0000 |
---|---|---|
committer | Shubham Saini <shubham6405@gmail.com> | 2020-05-16 17:43:31 +0000 |
commit | 16d45c32c20d7b3db8ba2533ca9d414d8cd308f2 (patch) | |
tree | f829957546b740e6897eba24c8f49bb4c170044e /st/patches/st-scrollback-mouse-20191024-a2c479c.diff |
gone full suckless
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"} }, | ||