diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-05-19 14:31:01 +0200 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-05-19 14:38:30 +0200 |
commit | 21e16bdeaa72b4a5f95dc61f20765f66d428bcd5 (patch) | |
tree | 9610fa3834f6225be12096d1aa3a103ef81b340f /spec/generic-types.xml | |
parent | 63ab11124cba06f80ca921e90f8741aeeaa9e534 (diff) |
improve User_Action_Timestamp description and add MAX_INT64 special case
Diffstat (limited to 'spec/generic-types.xml')
-rw-r--r-- | spec/generic-types.xml | 28 |
1 files changed, 22 insertions, 6 deletions
diff --git a/spec/generic-types.xml b/spec/generic-types.xml index 15b6b11e..c017ba59 100644 --- a/spec/generic-types.xml +++ b/spec/generic-types.xml @@ -166,15 +166,31 @@ </tp:struct> <tp:simple-type name="User_Action_Timestamp" type="x"> - <tp:docstring> - <p>The time at which an user action occurred, or 0 if - for some reason the action doesn't involve user action. + <tp:docstring xmlns="http://www.w3.org/1999/xhtml"> + <p>The time at which an user action occurred. This type has the 2 + following special values:</p> + + <p>0: the action doesn't involve any user action. Clients + SHOULD avoid stealing focus when presenting the channel.</p> + + <p>MAX_INT64: clients SHOULD behave as though the user action happened + at the current time, e.g. a client MAY request that its window gains + focus. + </p> + + <tp:rationale> + <p>This can be used by clients that can't know the X server time like + command line applications for example.</p> + </tp:rationale> + + <p>For all the other values it corresponds to the time of the user + action. Clients SHOULD use this for focus-stealing prevention, + if applicable. Note that the time is dependant on the local environment and so is not necessarily a wall-clock time. For example in an X environment it's expected to be the X timestamp - of events.</p> - - <p>This corresponds to the _NET_WM_USER_TIME property in + of events. + This corresponds to the _NET_WM_USER_TIME property in <a href="http://standards.freedesktop.org/wm-spec/wm-spec-latest.html">EWMH</a>.</p> </tp:docstring> </tp:simple-type> |