aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dmenu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/dmenu.c b/dmenu.c
index 071cbc1..509e566 100644
--- a/dmenu.c
+++ b/dmenu.c
@@ -320,6 +320,7 @@ keypress(XKeyEvent *ev)
320 insert(NULL, nextrune(-1) - cursor); 320 insert(NULL, nextrune(-1) - cursor);
321 break; 321 break;
322 case XK_y: /* paste selection */ 322 case XK_y: /* paste selection */
323 case XK_Y:
323 XConvertSelection(dpy, (ev->state & ShiftMask) ? clip : XA_PRIMARY, 324 XConvertSelection(dpy, (ev->state & ShiftMask) ? clip : XA_PRIMARY,
324 utf8, utf8, win, CurrentTime); 325 utf8, utf8, win, CurrentTime);
325 return; 326 return;