summaryrefslogtreecommitdiff
path: root/st-0.8.2/st-rightclickpaste-0.8.2.diff
diff options
context:
space:
mode:
authorstkhan <personal@slickd.xyz>2021-04-21 19:36:08 +0000
committerstkhan <personal@slickd.xyz>2021-04-21 19:36:08 +0000
commit661cc0a02fb3d38440ad8c1e295fdbde9c1299d8 (patch)
treef66f68dc51e04a1cacb3d609be5fa0c83ba876c1 /st-0.8.2/st-rightclickpaste-0.8.2.diff
parentfe2168b902a1775ae50041710b79d7751237f1ce (diff)
Added paleofetch
Diffstat (limited to 'st-0.8.2/st-rightclickpaste-0.8.2.diff')
-rw-r--r--st-0.8.2/st-rightclickpaste-0.8.2.diff28
1 files changed, 28 insertions, 0 deletions
diff --git a/st-0.8.2/st-rightclickpaste-0.8.2.diff b/st-0.8.2/st-rightclickpaste-0.8.2.diff
new file mode 100644
index 0000000..d959417
--- /dev/null
+++ b/st-0.8.2/st-rightclickpaste-0.8.2.diff
@@ -0,0 +1,28 @@
+From 111e5d0311f174592ccecee2af11067103abaee7 Mon Sep 17 00:00:00 2001
+From: aleks <aleks.stier@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
+@@ -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
+