R=rsc http://codereview.appspot.com/6402045
Unified · Split
| @@ -1572,8 +1572,8 @@ if(0) iprint("xselect target=%d requestor=%d property=%d selection=%d\n", · 1571 unmodified lines | |||
| 1572 | a[2] = text; | 1572 | a[2] = text; |
| 1573 | a[3] = compoundtext; | 1573 | a[3] = compoundtext; |
| 1574 | 1574 | ||
| 1575 | XChangeProperty(xd, xe->requestor, xe->property, xe->target, | 1575 | XChangeProperty(xd, xe->requestor, xe->property, XA_ATOM, |
| 1576 | 8, PropModeReplace, (uchar*)a, sizeof a); | 1576 | 32, PropModeReplace, (uchar*)a, sizeof a); |
| 1577 | }else if(xe->target == XA_STRING || xe->target == utf8string || xe->target == text || xe->target == compoundtext){ | 1577 | }else if(xe->target == XA_STRING || xe->target == utf8string || xe->target == text || xe->target == compoundtext){ |
| 1578 | text: | 1578 | text: |
| 1579 | /* if the target is STRING we're supposed to reply with Latin1 XXX */ | 1579 | /* if the target is STRING we're supposed to reply with Latin1 XXX */ |