Added paste on right click

This commit is contained in:
syrell 2023-06-27 20:54:16 +02:00
parent 07d63aa5f6
commit 88051b8007

4
x.c
View File

@ -711,7 +711,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);
} }