From 25ad2007e9601e32167d2f546394b07af3018d40 Mon Sep 17 00:00:00 2001 From: lunakl Date: Tue, 29 Jul 2003 18:03:54 +0000 Subject: Updates for _NET_WM_PING. --- wm-spec/wm-spec.xml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'wm-spec') 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 ]]> 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]. The Window Manager MAY kill the Client (using _NET_WM_PID) if it fails to -- cgit v1.2.3-54-g00ecf