[wiki] [sites] st:patch:rightclickpaste: delete because trivial and obsolete || Aleksandrs Stier

From: <git_AT_suckless.org>
Date: Sun, 08 Sep 2024 02:39:59 +0200

commit 156bc7071aee7200313f8ac2ba142a40c04eb150
Author: Aleksandrs Stier <aleks.stier_AT_icloud.com>
Date: Sun Sep 8 02:38:11 2024 +0200

    st:patch:rightclickpaste: delete because trivial and obsolete

diff --git a/st.suckless.org/patches/rightclickpaste/index.md b/st.suckless.org/patches/rightclickpaste/index.md
deleted file mode 100644
index 558b1b54..00000000
--- a/st.suckless.org/patches/rightclickpaste/index.md
+++ /dev/null
_AT_@ -1,18 +0,0 @@
-rightclickpaste
-===============
-
-Description
------------
-Pressing right-click pastes from the primary-selection.
-If combined with the clipboard-patch right-click pastes from the clipboard.
-Middle-click does nothing.
-
-Download
---------
-* [st-rightclickpaste-0.8.2.diff](st-rightclickpaste-0.8.2.diff)
-* [st-rightclickpaste-0.9.diff](st-rightclickpaste-0.9.diff)
-
-Authors
--------
-* Aleksandrs Stier - <aleks.stier_AT_icloud.com>
-* Elliot Weishaar - <elliotweishaar27_AT_gmail.com>
diff --git a/st.suckless.org/patches/rightclickpaste/st-rightclickpaste-0.8.2.diff b/st.suckless.org/patches/rightclickpaste/st-rightclickpaste-0.8.2.diff
deleted file mode 100644
index d9594173..00000000
--- a/st.suckless.org/patches/rightclickpaste/st-rightclickpaste-0.8.2.diff
+++ /dev/null
_AT_@ -1,28 +0,0 @@
-From 111e5d0311f174592ccecee2af11067103abaee7 Mon Sep 17 00:00:00 2001
-From: aleks <aleks.stier_AT_icloud.com>
-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
-_AT_@ -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.suckless.org/patches/rightclickpaste/st-rightclickpaste-0.9.diff b/st.suckless.org/patches/rightclickpaste/st-rightclickpaste-0.9.diff
deleted file mode 100644
index 9b3cb2c8..00000000
--- a/st.suckless.org/patches/rightclickpaste/st-rightclickpaste-0.9.diff
+++ /dev/null
_AT_@ -1,26 +0,0 @@
-From 07127e600a2854241f08ef976a45aea910cd1238 Mon Sep 17 00:00:00 2001
-From: Elliot Weishaar <elliotweishaar27_AT_gmail.com>
-Date: Fri, 15 Sep 2023 13:48:34 -0500
-Subject: [PATCH] Pressing right-click pastes from the primary section. If
- combined with the clibpoard-patch right-click pastes from the clipboard
-
----
- st/config.h | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/st/config.h b/st/config.h
-index 968ad8f..3bee657 100644
---- a/st/config.h
-+++ b/st/config.h
-_AT_@ -176,7 +176,7 @@ static uint forcemousemod = ShiftMask;
-  */
- static MouseShortcut mshortcuts[] = {
- 	/* mask                 button   function        argument       release */
--	{ XK_ANY_MOD,           Button2, selpaste,       {.i = 0},      1 },
-+	{ XK_ANY_MOD,           Button3, selpaste,       {.i = 0},      1 },
- 	{ ShiftMask,            Button4, ttysend,        {.s = "[5;2~"} },
- 	{ XK_ANY_MOD,           Button4, ttysend,        {.s = ""} },
- 	{ ShiftMask,            Button5, ttysend,        {.s = "[6;2~"} },
--- 
-2.39.2
-
Received on Sun Sep 08 2024 - 02:39:59 CEST

This archive was generated by hypermail 2.3.0 : Sun Sep 08 2024 - 02:48:49 CEST