summaryrefslogtreecommitdiff
path: root/x.c
diff options
context:
space:
mode:
Diffstat (limited to 'x.c')
-rw-r--r--x.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/x.c b/x.c
index c09392b..93ba648 100644
--- a/x.c
+++ b/x.c
@@ -661,8 +661,6 @@ setsel(char *str, Time t)
XSetSelectionOwner(xw.dpy, XA_PRIMARY, xw.win, t);
if (XGetSelectionOwner(xw.dpy, XA_PRIMARY) != xw.win)
selclear();
-
- clipcopy(NULL);
}
void
@@ -680,7 +678,7 @@ brelease(XEvent *e)
}
if (e->xbutton.button == Button2)
- clippaste(NULL);
+ selpaste(NULL);
else if (e->xbutton.button == Button1)
mousesel(e, 1);
}