From 3b852e0f10892789210fd8e3fdd8415faf3cf2d8 Mon Sep 17 00:00:00 2001 From: stkhan Date: Sun, 17 Oct 2021 18:43:19 -0500 Subject: 3.0 --- st-0.8.4/config.h | 2 +- st-0.8.4/patches/st-rightclickpaste-0.8.2.diff | 28 +++++++++++++++++ .../st-scrollback-mouse-increment-0.8.2.diff | 34 +++++++++++++++++++++ st-0.8.4/st | Bin 0 -> 106440 bytes st-0.8.4/st.o | Bin 0 -> 77144 bytes st-0.8.4/x.o | Bin 0 -> 75712 bytes 6 files changed, 63 insertions(+), 1 deletion(-) create mode 100644 st-0.8.4/patches/st-rightclickpaste-0.8.2.diff create mode 100644 st-0.8.4/patches/st-scrollback-mouse-increment-0.8.2.diff create mode 100755 st-0.8.4/st create mode 100644 st-0.8.4/st.o create mode 100644 st-0.8.4/x.o (limited to 'st-0.8.4') diff --git a/st-0.8.4/config.h b/st-0.8.4/config.h index c3012af..6ac76a1 100644 --- a/st-0.8.4/config.h +++ b/st-0.8.4/config.h @@ -1,4 +1,4 @@ -#include "../theme.h" +#include "../dwm-6.2/colors.h" /* See LICENSE file for copyright and license details. */ /* diff --git a/st-0.8.4/patches/st-rightclickpaste-0.8.2.diff b/st-0.8.4/patches/st-rightclickpaste-0.8.2.diff new file mode 100644 index 0000000..d959417 --- /dev/null +++ b/st-0.8.4/patches/st-rightclickpaste-0.8.2.diff @@ -0,0 +1,28 @@ +From 111e5d0311f174592ccecee2af11067103abaee7 Mon Sep 17 00:00:00 2001 +From: aleks +Date: Sun, 11 Aug 2019 03:15:26 +0200 +Subject: [PATCH] Make right-click paste + +Pressing right-click pastes from the primary-selection. +If combined with the clipboard-patch right-click pastes from the clipboard. +Middle-click does nothing. +--- + x.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/x.c b/x.c +index 0422421..13a5849 100644 +--- a/x.c ++++ b/x.c +@@ -643,7 +643,7 @@ brelease(XEvent *e) + return; + } + +- if (e->xbutton.button == Button2) ++ if (e->xbutton.button == Button3) + selpaste(NULL); + else if (e->xbutton.button == Button1) + mousesel(e, 1); +-- +2.22.0 + diff --git a/st-0.8.4/patches/st-scrollback-mouse-increment-0.8.2.diff b/st-0.8.4/patches/st-scrollback-mouse-increment-0.8.2.diff new file mode 100644 index 0000000..9556a9d --- /dev/null +++ b/st-0.8.4/patches/st-scrollback-mouse-increment-0.8.2.diff @@ -0,0 +1,34 @@ +From 63e717e51dcd2f59c7a3aa75b659926aa92e08f3 Mon Sep 17 00:00:00 2001 +From: Jacob Louis Prosser +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 diff --git a/st-0.8.4/st b/st-0.8.4/st new file mode 100755 index 0000000..b5216af Binary files /dev/null and b/st-0.8.4/st differ diff --git a/st-0.8.4/st.o b/st-0.8.4/st.o new file mode 100644 index 0000000..e3f7921 Binary files /dev/null and b/st-0.8.4/st.o differ diff --git a/st-0.8.4/x.o b/st-0.8.4/x.o new file mode 100644 index 0000000..5eb1e8b Binary files /dev/null and b/st-0.8.4/x.o differ -- cgit v1.2.3