commit 240a7810e492ec01075614729a1a1c45ef9f7af2 from: Hiltjo Posthuma date: Sun Oct 4 10:32:07 2015 UTC fix paste from clipboard (ctrl+shift+y) from Joshua Lloret on the ML: "attached is a small patch to enable pasting from clipboard, as well as primary. It seems like there was already code in there to allow this, but since there was never any case to match the upper case 'Y', that inline if would always evaluate to false." commit - d5ce8df9d9a86bf0d1cb97e4cfe4cd6951f2f1f5 commit + 240a7810e492ec01075614729a1a1c45ef9f7af2 blob - 071cbc1c40d039ded3beb20edc7b56612f80b688 blob + 509e566203d4441e0f92f2cc87f1aa0ac9adc4f4 --- dmenu.c +++ dmenu.c @@ -320,6 +320,7 @@ keypress(XKeyEvent *ev) insert(NULL, nextrune(-1) - cursor); break; case XK_y: /* paste selection */ + case XK_Y: XConvertSelection(dpy, (ev->state & ShiftMask) ? clip : XA_PRIMARY, utf8, utf8, win, CurrentTime); return;