pinosaur
/
st.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1adf2e3
)
fix utf8 clipboard. (thx Petr Sabata)
author
Aurélien Aptel
<aurelien.aptel@gmail.com>
Sun, 3 Apr 2011 19:00:55 +0000
(21:00 +0200)
committer
Aurélien Aptel
<aurelien.aptel@gmail.com>
Sun, 3 Apr 2011 19:00:55 +0000
(21:00 +0200)
st.c
patch
|
blob
|
history
diff --git
a/st.c
b/st.c
index
ed750e6
..
d0f2f5e
100644
(file)
--- 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));