fix utf8 clipboard. (thx Petr Sabata) - st - simple terminal HTML git clone https://git.parazyd.org/st DIR Log DIR Files DIR Refs DIR README DIR LICENSE --- DIR commit 9b63dd9f435408caf3f91b4dfa9144a611302dd6 DIR parent 1adf2e3978365c1e530d79372dd9d67f17fb19f7 HTML Author: Aurélien Aptel <aurelien.aptel@gmail.com> Date: Sun, 3 Apr 2011 21:00:55 +0200 fix utf8 clipboard. (thx Petr Sabata) Diffstat: M st.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/st.c b/st.c @@ -483,7 +483,7 @@ selrequest(XEvent *e) { XA_ATOM, 32, PropModeReplace, (unsigned char *) &string, 1); xev.property = xsre->property; - } else if(xsre->target == XA_STRING) { + } else if(xsre->target == sel.xtarget) { XChangeProperty(xsre->display, xsre->requestor, xsre->property, xsre->target, 8, PropModeReplace, (unsigned char *) sel.clip, strlen(sel.clip));