aboutsummaryrefslogtreecommitdiff
path: root/x.c
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2024-04-22 23:25:58 +0530
committerAryadev Chavali <aryadev@aryadevchavali.com>2024-04-22 23:25:58 +0530
commitad509637c4180d2b45db581ea81f21b405829f5a (patch)
tree762538108123c6cdc953dc541d99b97440e06081 /x.c
parentf2987e1f3102cd0d4fbbfba87f7315e047294c6f (diff)
downloadst-ad509637c4180d2b45db581ea81f21b405829f5a.tar.gz
st-ad509637c4180d2b45db581ea81f21b405829f5a.tar.bz2
st-ad509637c4180d2b45db581ea81f21b405829f5a.zip
Applied st-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 0582732..7d9102e 100644
--- a/x.c
+++ b/x.c
@@ -686,6 +686,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