mirror of
https://github.com/LukeSmithxyz/st.git
synced 2024-11-22 15:25:58 +01:00
make clipboard patch obsolete
This commit is contained in:
parent
7f990328e4
commit
77c51c5a6b
1 changed files with 1 additions and 0 deletions
1
x.c
1
x.c
|
@ -507,6 +507,7 @@ 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_(NULL);
|
selclear_(NULL);
|
||||||
|
xclipcopy();
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Loading…
Reference in a new issue