fix paste from clipboard (ctrl+shift+y) 240a7810
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."
Hiltjo Posthuma · 2015-10-04 12:32 1 file(s) · +1 −0
dmenu.c +1 −0
320 320
				insert(NULL, nextrune(-1) - cursor);
321 321
			break;
322 322
		case XK_y: /* paste selection */
323 +
		case XK_Y:
323 324
			XConvertSelection(dpy, (ev->state & ShiftMask) ? clip : XA_PRIMARY,
324 325
			                  utf8, utf8, win, CurrentTime);
325 326
			return;