diff options
author | Aurélien Aptel <aurelien.aptel@gmail.com> | 2011-04-03 21:00:55 +0200 |
---|---|---|
committer | Aurélien Aptel <aurelien.aptel@gmail.com> | 2011-04-03 21:00:55 +0200 |
commit | d679267c46938c8d8e1c8eeff2375ebe487fd963 (patch) | |
tree | 0ceb8ce7bc0fcfca4445ac00266a0ec4d48efdf8 /st.c | |
parent | bdd3246271fc9cb90994b823fc38fb6d84a0e628 (diff) | |
download | st-d679267c46938c8d8e1c8eeff2375ebe487fd963.tar.gz st-d679267c46938c8d8e1c8eeff2375ebe487fd963.tar.bz2 |
fix utf8 clipboard. (thx Petr Sabata)
Diffstat (limited to 'st.c')
-rw-r--r-- | st.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)); |