~ubuntu-branches/ubuntu/trusty/libxi/trusty-security

« back to all changes in this revision

Viewing changes to man/XIChangeProperty.txt

  • Committer: Package Import Robot
  • Author(s): Christopher James Halse Rogers
  • Date: 2012-01-18 11:44:39 UTC
  • mfrom: (1.1.8) (4.1.4 experimental)
  • Revision ID: package-import@ubuntu.com-20120118114439-bm7qksg514zh51do
Tags: 2:1.5.99.2-0ubuntu3
Bump build depends on x11proto-input-dev to 2.1.99.5.  Our 2.1.99.4 package
is really 2.0.2, so 2.1.99.5 is the first version with MT support.

Show diffs side-by-side

added added

removed removed

Lines of Context:
76
76
          quantities) where the data is to be retrieved.
77
77
 
78
78
   mode
79
 
          One of PropModeAppend, PropModePrepend or PropModeReplace.
 
79
          One of XIPropModeAppend, XIPropModePrepend or XIPropModeReplace.
80
80
 
81
81
   num_items
82
82
          Number of items in data in the format specified.
121
121
   nitems_return argument is empty.
122
122
 
123
123
   - If the specified property exists and either you assign 
124
 
   AnyPropertyType to the req_type argument or the specified type 
 
124
   XIAnyPropertyType to the req_type argument or the specified type
125
125
   matches the actual property type, XIGetProperty returns the 
126
126
   actual property type to actual_type_return and the actual property 
127
127
   format (never zero) to actual_format_return.  It also returns a value 
165
165
and causes the X server to generate a XIPropertyNotify event for that
166
166
device.  XIChangeProperty performs the following:
167
167
 
168
 
- If mode is PropModeReplace, XIChangeProperty discards the previous
 
168
- If mode is XIPropModeReplace, XIChangeProperty discards the previous
169
169
  property value and stores the new data.
170
170
 
171
 
- If mode is PropModePrepend or PropModeAppend, XIChangeProperty
 
171
- If mode is XIPropModePrepend or XIPropModeAppend, XIChangeProperty
172
172
  inserts the specified data before the beginning of the existing
173
173
  data or onto the end of the existing data, respectively.  The type
174
174
  and format must match the existing property value, or a BadMatch
221
221
       An invalid property was specified. The property does not
222
222
       exist.
223
223
 
 
224
BUGS
 
225
----
 
226
 
 
227
   The protocol headers for XI 2.0 did not provide
 
228
   XIAnyPropertyType, XIPropModeReplace, XIPropModePrepend or
 
229
   XIPropModeAppend. Use AnyPropertyType, PropModeReplace,
 
230
   PropModePrepend and PropModeAppend instead, respectively.
 
231
 
224
232
SEE ALSO
225
233
--------
226
234