Add to rightclickpaste Button2 as well

This commit is contained in:
Sergey Silaev 2021-01-23 01:35:42 +03:00
parent fe24022e12
commit 97456b3325

2
x.c
View file

@ -703,7 +703,7 @@ brelease(XEvent *e)
if (mouseaction(e, 1))
return;
if (e->xbutton.button == Button3)
if (e->xbutton.button == Button3 | e->xbutton.button == Button2)
selpaste(NULL);
else if (e->xbutton.button == Button1)
mousesel(e, 1);