History

gui-x11: better snarfing with Chrome/Opera (ported from p9p, thanks Ethan Grammatikidis)

R=rsc http://codereview.appspot.com/6402045

Russ Cox committed 14 years ago

Commit e64d4881 parent 14564d21 file · +2 −2Browse files

Unified · Split

gui-x11/x11.c+2−2
@@ -1572,8 +1572,8 @@ if(0) iprint("xselect target=%d requestor=%d property=%d selection=%d\n", · 1571 unmodified lines
15721572 a[2] = text;
15731573 a[3] = compoundtext;
15741574
1575− XChangeProperty(xd, xe->requestor, xe->property, xe->target,
1576− 8, PropModeReplace, (uchar*)a, sizeof a);
1575+ XChangeProperty(xd, xe->requestor, xe->property, XA_ATOM,
1576+ 32, PropModeReplace, (uchar*)a, sizeof a);
15771577 }else if(xe->target == XA_STRING || xe->target == utf8string || xe->target == text || xe->target == compoundtext){
15781578 text:
15791579 /* if the target is STRING we're supposed to reply with Latin1 XXX */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t