commit f6bc38d5088e6d73a3bb418428aca08e4fc92e81
parent 81500f93baa103d591b9a87df47ef8aafd682ef1
Author: Benjamin Chausse <benjamin@chausse.xyz>
Date:   Tue, 23 Feb 2021 22:46:11 -0500

Very dirty edit for alt+v clipboard

Diffstat:
Mdmenu.c | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/dmenu.c b/dmenu.c @@ -466,6 +466,10 @@ keypress(XKeyEvent *ev) case XK_j: ksym = XK_Next; break; case XK_k: ksym = XK_Prior; break; case XK_l: ksym = XK_Down; break; + /* Dis My Edit: */ + case XK_v: + XConvertSelection(dpy, (ev->state & ShiftMask) ? clip : XA_PRIMARY, + utf8, utf8, win, CurrentTime); default: return; }