changeset: 185:bf0cf089a9ae
user: Aurélien Aptel <aurelien.aptel_AT_gmail.com>
date: Sun Apr 03 21:00:55 2011 +0200
files: st.c
description:
fix utf8 clipboard. (thx Petr Sabata)
diff -r 23fc7dba4bc9 -r bf0cf089a9ae st.c
--- a/st.c Sun Apr 03 02:02:31 2011 +0200
+++ b/st.c Sun Apr 03 21:00:55 2011 +0200
@@ -483,7 +483,7 @@
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));
Received on Sun Apr 03 2011 - 21:06:14 CEST
This archive was generated by hypermail 2.2.0 : Sun Apr 03 2011 - 21:12:07 CEST