Right-click also paste from the selection

This commit is contained in:
Sergey Silaev 2019-12-04 15:20:08 +03:00
parent b2ecb752dc
commit 0d955b412c

2
x.c
View file

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