aboutsummaryrefslogtreecommitdiffstats
path: root/x.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-11-06 16:47:55 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-11-06 16:47:55 +0100
commit212ade3e61e118c8eefbae40fd77c20683141b90 (patch)
tree719a01e58f18578748daba67cb487d8267bc1d1d /x.c
parentIncomplete patch fix for hidecursor (diff)
downloadst-212ade3e61e118c8eefbae40fd77c20683141b90.tar.gz
st-212ade3e61e118c8eefbae40fd77c20683141b90.tar.bz2
st-212ade3e61e118c8eefbae40fd77c20683141b90.tar.xz
st-212ade3e61e118c8eefbae40fd77c20683141b90.tar.zst
st-212ade3e61e118c8eefbae40fd77c20683141b90.zip
Added clipboard patch
Diffstat (limited to 'x.c')
-rw-r--r--x.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/x.c b/x.c
index 81efafe..2272461 100644
--- a/x.c
+++ b/x.c
@@ -562,6 +562,7 @@ 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