[Xcb] [proto 2/6] xproto: Fix EnterNotify documentation

Daniel Martin consume.noise at gmail.com
Fri Nov 22 14:26:50 PST 2013

Fix a copy'n'paste mistake (from UnmapNotify) in the documentation of
EnterNotify by changing the description for 'event', renaming
'window' to 'child' and change its description too.

Signed-off-by: Daniel Martin <consume.noise at gmail.com>
 src/xproto.xml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/xproto.xml b/src/xproto.xml
index defa11e..7b8d7b2 100644
--- a/src/xproto.xml
+++ b/src/xproto.xml
@@ -506,11 +506,11 @@ <event name="EnterNotify" number="7">
       <brief>the pointer is in a different window</brief>
       <field name="event"><![CDATA[
-The reconfigured window or its parent, depending on whether `StructureNotify`
-or `SubstructureNotify` was selected.
+The window on which the event was generated.
-      <field name="window"><![CDATA[
-The window that was unmapped.
+      <field name="child"><![CDATA[
+If the `event` window has subwindows and the final pointer position is in one
+of them, then `child` is set to that subwindow, `XCB_WINDOW_NONE` otherwise.
       <field name="root"><![CDATA[
 The root window for the final cursor position.

More information about the Xcb mailing list