mirror of git://git.suckless.org/st
make clipboard patch obsolete
This commit is contained in:
parent
7f990328e4
commit
77c51c5a6b
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 New Issue