aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnselm R Garbe <anselm@garbe.us>2017-09-01 09:48:24 +0200
committerAnselm R Garbe <anselm@garbe.us>2017-09-01 09:48:24 +0200
commit77c51c5a6b16387f1792e23acbcf2080f790aa25 (patch)
treeae4b3270d1365412c4a87bd73cc1f40e32c67e68
parent7f990328e4fec8dfaaad311cb8af2304b58c872e (diff)
downloadst-77c51c5a6b16387f1792e23acbcf2080f790aa25.tar.gz
st-77c51c5a6b16387f1792e23acbcf2080f790aa25.tar.bz2
make clipboard patch obsolete
-rw-r--r--x.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/x.c b/x.c
index fbfd350..ab9593e 100644
--- a/x.c
+++ b/x.c
@@ -507,6 +507,7 @@ xsetsel(char *str, Time t)
XSetSelectionOwner(xw.dpy, XA_PRIMARY, xw.win, t);
if (XGetSelectionOwner(xw.dpy, XA_PRIMARY) != xw.win)
selclear_(NULL);
+ xclipcopy();
}
void