mirror of
https://gitlab.freedesktop.org/xorg/lib/libx11.git
synced 2026-05-05 14:38:03 +02:00
Sun bug 4091271: XGetWindowProperty is missing a crucial prop_return description
Document that 32-bit format properties are always returned in arrays of type long, even on systems where long is 64-bits. <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=4091271>
This commit is contained in:
parent
8309efe655
commit
171107b03a
1 changed files with 6 additions and 0 deletions
|
|
@ -213,6 +213,12 @@ Returns the length of the properties array.
|
|||
Specifies the rotation amount.
|
||||
.IP \fIprop_return\fP 1i
|
||||
Returns the data in the specified format.
|
||||
If the returned format is 8, the returned data is represented as a
|
||||
char array. If the returned format is 16, the returned data is
|
||||
represented as a array of short int type and should be cast to that
|
||||
type to obtain the elements. If the returned format is 32, the
|
||||
property data will be stored as an array of longs (which in a 64-bit
|
||||
application will be 64-bit values that are padded in the upper 4 bytes).
|
||||
.IP \fIproperty\fP 1i
|
||||
Specifies the property name.
|
||||
.IP \fIproperties\fP 1i
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue