mirror of
https://github.com/pikami/st.git
synced 2025-02-05 15:26:37 +00:00
Revert "make clipboard patch obsolete"
This reverts commit 77c51c5a6b16387f1792e23acbcf2080f790aa25. 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…
x
Reference in New Issue
Block a user