From 75dea136dfb515bdc6bb4efbcebfb02361e60d23 Mon Sep 17 00:00:00 2001 From: syrell Date: Tue, 27 Jun 2023 20:54:16 +0200 Subject: [PATCH] Added paste on right click --- x.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/x.c b/x.c index 7c9fe7c..f6c3b80 100644 --- a/x.c +++ b/x.c @@ -714,7 +714,9 @@ brelease(XEvent *e) if (mouseaction(e, 1)) return; - if (btn == Button1) + if (btn == Button3) + selpaste(NULL); + else if (btn == Button1) mousesel(e, 1); }