~kris/suckless

st

90566170227e8dcf74af5dfa3654c08faa18095b — siduck76 5 years ago 7d6edb1
right click paste patch
2 files changed, 1 insertions(+), 3 deletions(-)

M x.c
M x.c.orig
M x.c => x.c +1 -1
@@ 695,7 695,7 @@ brelease(XEvent *e)
		return;
	}

	if (e->xbutton.button == Button2)
	if (e->xbutton.button == Button3)
		selpaste(NULL);
	else if (e->xbutton.button == Button1)
		mousesel(e, 1);

M x.c.orig => x.c.orig +0 -2
@@ 1719,8 1719,6 @@ xsettitle(char *p)
int
xstartdraw(void)
{
	if (IS_SET(MODE_VISIBLE))
		XCopyArea(xw.dpy, xw.win, xw.buf, dc.gc, 0, 0, win.w, win.h, 0, 0);
	return IS_SET(MODE_VISIBLE);
}