In the man page the field "resourceid" was in a different place than
in the actual struct layout in Xlib.h

Signed-off-by: Joonas Javanainen <[email protected]>
---
 man/XErrorEvent.man | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/man/XErrorEvent.man b/man/XErrorEvent.man
index 66c07d0..136de6e 100644
--- a/man/XErrorEvent.man
+++ b/man/XErrorEvent.man
@@ -90,11 +90,11 @@ structure contains:
 typedef struct {
         int type;
         Display *display;       /\&* Display the event was read from */
+        XID resourceid;         /\&* resource id */
         unsigned long serial;           /\&* serial number of failed request */
         unsigned char error_code;       /\&* error code of failed request */
         unsigned char request_code;     /\&* Major op-code of failed request */
         unsigned char minor_code;       /\&* Minor op-code of failed request */
-        XID resourceid;         /\&* resource id */
 } XErrorEvent;
 .De
 .LP
-- 
2.2.2

This mismatch has been present since the original X11R1 release.
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to