mirror of git://git.suckless.org/st
Revert "make clipboard patch obsolete"
This reverts commit 77c51c5a6b
.
Having multiple clipboards are useful, for example for plumber scripts.
I've discussed this on IRC and it is useful to have.
This commit is contained in:
parent
77c51c5a6b
commit
9c61f29bb7
1
x.c
1
x.c
|
@ -507,7 +507,6 @@ 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