From f47d33497a9e19089a7a3c412a3ae4d7d640e871 Mon Sep 17 00:00:00 2001 From: Lucien Gentis Date: Wed, 1 Jun 2016 17:02:47 +0200 Subject: [PATCH doc] Typos in "Xlib - C Language X Interface" document - Chapter 02 This patch fixes typos and lack of tags in "Xlib - C Language X Interface" document - Chapter 02. Signed-off-by: Lucien Gentis --- specs/libX11/CH02.xml | 39 +++++++++++++++------------------------ 1 file changed, 15 insertions(+), 24 deletions(-) diff --git a/specs/libX11/CH02.xml b/specs/libX11/CH02.xml index 067d830..f81aa5a 100644 --- a/specs/libX11/CH02.xml +++ b/specs/libX11/CH02.xml @@ -1026,12 +1026,9 @@ child process as well as for printing error messages. - -LastKnownRequestProcessed(display) - - + - unsigned long XLastKnownRequestProcessed + long XExtendedMaxRequestSize Display *display @@ -1083,12 +1080,9 @@ split the data across multiple smaller requests instead. - -LastKnownRequestProcessed(display) - - unsigned long XLastKnownRequestProcessed + long XMaxRequestSize Display *display @@ -2293,11 +2287,11 @@ Both return the display of the specified screen. XScreenNumberOfScreen -EventMaskOfScreen(screen) +ScreenNumberOfScreen(screen) - + - long XEventMaskOfScreen + long XScreenNumberOfScreen Screen *screen @@ -2708,7 +2702,7 @@ To free in-memory data that was created by an Xlib function, use - XFree + XFree void *data @@ -2788,7 +2782,7 @@ structure and destroys all windows, resource IDs and GContext), or other resources that the client has created -on this display, unless the close-down mode of the resource has been changed +on this display, unless the close-down mode of the client has been changed (see ). Therefore, these windows, resource IDs, and other resources should never be @@ -2822,7 +2816,7 @@ To change a client's close-down mode, use - XSetCloseDownMode + XSetCloseDownMode Display *display int close_mode @@ -2859,7 +2853,7 @@ or The - + function defines what will happen to the client's resources at connection close. A connection starts in DestroyAll @@ -3153,7 +3147,7 @@ To unlock a display, use - XUnlockDisplay + XUnlockDisplay Display *display @@ -3214,7 +3208,7 @@ To track internal connections for a display, use - type void XConnectionWatchProc + typedef void (*XConnectionWatchProc) Display *display XPointer client_data int fd @@ -3225,9 +3219,9 @@ To track internal connections for a display, use - Status XAddConnectionWatch + Status XAddConnectionWatch Display *display - XWatchProc procedure + XConnectionWatchProc procedure XPointer client_data @@ -3312,13 +3306,12 @@ To stop tracking internal connections for a display, use -() Status XRemoveConnectionWatch Display *display - XWatchProc procedure + XConnectionWatchProc procedure XPointer client_data @@ -3374,7 +3367,6 @@ To process input on an internal connection, use -() @@ -3429,7 +3421,6 @@ To obtain all of the current internal connections for a display, use -() -- 1.9.1