mirror of
https://github.com/LukeSmithxyz/st.git
synced 2024-11-22 15:25:58 +01:00
14 lines
271 B
Diff
14 lines
271 B
Diff
|
diff --git a/x.c b/x.c
|
||
|
index 13fa9f4..88fd341 100644
|
||
|
--- a/x.c
|
||
|
+++ b/x.c
|
||
|
@@ -624,6 +624,8 @@ setsel(char *str, Time t)
|
||
|
XSetSelectionOwner(xw.dpy, XA_PRIMARY, xw.win, t);
|
||
|
if (XGetSelectionOwner(xw.dpy, XA_PRIMARY) != xw.win)
|
||
|
selclear();
|
||
|
+
|
||
|
+ xclipcopy();
|
||
|
}
|
||
|
|
||
|
void
|