xproto: Fix EnterNotify documentation
authorDaniel Martin <consume.noise@gmail.com>
Fri, 22 Nov 2013 22:26:50 +0000 (23:26 +0100)
committerDaniel Martin <consume.noise@gmail.com>
Sun, 20 Jul 2014 19:21:08 +0000 (21:21 +0200)
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@gmail.com>
src/xproto.xml

index 0779568..bfb8a4c 100644 (file)
@@ -506,11 +506,11 @@ event.
     <doc>
       <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>
-      <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>
       <field name="root"><![CDATA[
 The root window for the final cursor position.