summaryrefslogtreecommitdiff
path: root/randrproto.txt
diff options
context:
space:
mode:
authorKeith Packard <keithp@neko.keithp.com>2006-11-24 13:44:55 -0800
committerKeith Packard <keithp@neko.keithp.com>2006-11-24 13:44:55 -0800
commita86f4b9442a48a3049e03a4c7d4fd022a860bf01 (patch)
tree30ad98a8ec10e4659313a48a6917a89822815d56 /randrproto.txt
parentaf852261efa5eb7f8d16e3e90b8832bf66d93de7 (diff)
Create Properties when configured. Pending defaults to Current
Change property semantics to create them with empty value when they are configured. When clients request the Pending value of a property without any pending vlaue, the current value is returned instead.
Diffstat (limited to 'randrproto.txt')
-rw-r--r--randrproto.txt24
1 files changed, 12 insertions, 12 deletions
diff --git a/randrproto.txt b/randrproto.txt
index c9d0144..bde1fdf 100644
--- a/randrproto.txt
+++ b/randrproto.txt
@@ -649,15 +649,15 @@ dynamic changes in the display environment.
└───
Errors: Access, Name, Atom, Output
- If the specified property does not exist for the specified output,
- then a Name error is returned.
-
If the specified property is 'immutable', an Access error is
returned.
Otherwise, the configuration of the specified property is changed to
the values provided in this request.
+ If the specified property does not exist for the specified output,
+ it is created with an empty value and None type.
+
┌───
RRChangeOutputProperty
output: OUTPUT
@@ -747,15 +747,15 @@ dynamic changes in the display environment.
L = MINIMUM(T, 4 × long-length)
A = N - (I + L)
- If 'pending' is true, then the value returned will be the pending
- value of the property rather than the current value. The returned
- value starts at byte index I in the property (indexing from 0), and
- its length in bytes is L. However, it is a Value error if
- long-offset is given such that L is negative. The value of
- bytes-after is A, giving the number of trailing unread bytes in the
- stored property. If delete is True and the bytes-after is zero, the
- property is also deleted from the output, and a
- RROutputPropertyNotify event is generated.
+ If 'pending' is true, and if the property holds a pending value,
+ then the value returned will be the pending value of the property
+ rather than the current value. The returned value starts at byte
+ index I in the property (indexing from 0), and its length in bytes
+ is L. However, it is a Value error if long-offset is given such
+ that L is negative. The value of bytes-after is A, giving the
+ number of trailing unread bytes in the stored property. If delete
+ is True and the bytes-after is zero, the property is also deleted
+ from the output, and a RROutputPropertyNotify event is generated.
┌───
RRCreateMode