[PATCH libX11] Fix XErrorEvent struct field order in man page

Joonas Javanainen joonas.javanainen at gmail.com
Thu Feb 5 07:31:04 PST 2015


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 <joonas.javanainen at gmail.com>
---
 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.


More information about the xorg-devel mailing list