Added paste on right click

This commit is contained in:
syrell 2023-06-27 20:54:16 +02:00
parent 54a348518d
commit 75dea136df

4
x.c
View File

@ -714,7 +714,9 @@ brelease(XEvent *e)
if (mouseaction(e, 1)) if (mouseaction(e, 1))
return; return;
if (btn == Button1) if (btn == Button3)
selpaste(NULL);
else if (btn == Button1)
mousesel(e, 1); mousesel(e, 1);
} }