report target list as 32-bit chunks, not 8-bit, for OS X
This commit is contained in:
parent
7c809320ca
commit
4b3989fd41
1 changed files with 1 additions and 1 deletions
|
|
@ -528,7 +528,7 @@ if(0) fprint(2, "xselect target=%d requestor=%d property=%d selection=%d\n",
|
||||||
a[3] = _x.compoundtext;
|
a[3] = _x.compoundtext;
|
||||||
|
|
||||||
XChangeProperty(_x.display, xe->requestor, xe->property, xe->target,
|
XChangeProperty(_x.display, xe->requestor, xe->property, xe->target,
|
||||||
8, PropModeReplace, (uchar*)a, sizeof a);
|
8*sizeof(a[0]), PropModeReplace, (uchar*)a, nelem(a));
|
||||||
}else if(xe->target == XA_STRING
|
}else if(xe->target == XA_STRING
|
||||||
|| xe->target == _x.utf8string
|
|| xe->target == _x.utf8string
|
||||||
|| xe->target == _x.text
|
|| xe->target == _x.text
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue