commit 90566170227e8dcf74af5dfa3654c08faa18095b
parent 7d6edb15a95877079a67fbcff9fd24440de1b17a
Author: siduck76 <siduckk76@protonmail.com>
Date: Wed, 13 Jan 2021 21:12:21 +0530
right click paste patch
Diffstat:
2 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/x.c b/x.c
@@ -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);
diff --git a/x.c.orig b/x.c.orig
@@ -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);
}