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

Peter Hutterer peter.hutterer at who-t.net
Thu Feb 5 19:00:38 PST 2015


On Thu, Feb 05, 2015 at 05:31:04PM +0200, Joonas Javanainen wrote:
> 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.

pushed, thanks.

   ddf3b09..c8e19b3  master -> master


Cheers,
   Peter


More information about the xorg-devel mailing list