summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlunakl <lunakl>2003-07-29 18:03:54 +0000
committerlunakl <lunakl>2003-07-29 18:03:54 +0000
commit25ad2007e9601e32167d2f546394b07af3018d40 (patch)
treea1e603c4b09c9a2760d9d62cbd98d1eb3911966b
parent224ebabfe37ddcce3eb6c75930481db039574f8c (diff)
downloadxdg-specs-25ad2007e9601e32167d2f546394b07af3018d40.tar.xz
Updates for _NET_WM_PING.
-rw-r--r--wm-spec/wm-spec.xml10
1 files changed, 7 insertions, 3 deletions
diff --git a/wm-spec/wm-spec.xml b/wm-spec/wm-spec.xml
index d6a1c8b..b789d51 100644
--- a/wm-spec/wm-spec.xml
+++ b/wm-spec/wm-spec.xml
@@ -1291,13 +1291,17 @@ message_type = WM_PROTOCOLS
format = 32
data.l[0] = _NET_WM_PING
data.l[1] = timestamp
+data.l[2] = the respective client window
other data.l[] elements = 0
]]></programlisting>
<para>
A participating Client receiving this message MUST send it back to the root
-window immediately, by setting window = root, and calling XSendEvent. The
-Client MUST NOT alter the timestamp, as this can be used by the Window Manager
-to uniquely identify the ping.
+window immediately, by setting window = root, and calling XSendEvent with
+the same event mask like all other root window messages in this specification use.
+The Client MUST NOT alter any field in the event other than the window. This
+includes all 5 longs in the data.l[5] array. The Window Manager can uniquely
+identify the ping by the timestamp and the data.l[2] field if necessary.
+Note that some older clients may not preserve data.l[2] through data.l[4].
</para>
<para>
The Window Manager MAY kill the Client (using _NET_WM_PID) if it fails to