mirror of
https://github.com/alrayyes/st
synced 2023-11-14 15:56:30 +00:00
clipboard support
This commit is contained in:
parent
7549ffd200
commit
6833411400
2
st.c
2
st.c
@ -1274,6 +1274,8 @@ xsetsel(char *str, Time t)
|
|||||||
XSetSelectionOwner(xw.dpy, XA_PRIMARY, xw.win, t);
|
XSetSelectionOwner(xw.dpy, XA_PRIMARY, xw.win, t);
|
||||||
if (XGetSelectionOwner(xw.dpy, XA_PRIMARY) != xw.win)
|
if (XGetSelectionOwner(xw.dpy, XA_PRIMARY) != xw.win)
|
||||||
selclear(0);
|
selclear(0);
|
||||||
|
|
||||||
|
clipcopy(NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Loading…
Reference in New Issue
Block a user