Eliminate all uses of tab stops in the libX11 man pages.

Two steps: First, expand tabs to 8 spaces in code and structure
listings.  Second, make the .Ds used to wrap code listings switch to
constant-width font (CW) rather than numeric font position 1, which
maps to R on most systems.

It is possible some archaic systems won't know what CW is, but the
only risk is that code listings won't look quite right on troff
devices; the PostScript and DVI drivers definitely grok it, so those
important cases are OK.

The purpose of these changes is to get rid of presentation-level
markup so these pages will lift clean to DocBook.

Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
This commit is contained in:
Eric S. Raymond 2012-08-23 08:24:17 -04:00
parent 8042f88ace
commit a7fb575957
182 changed files with 684 additions and 813 deletions

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp
@ -228,12 +228,10 @@ structure provides an interface to the pixmap format information
that is returned at the time of a connection setup.
It contains:
.Ds 0
.TA .5i 3i
.ta .5i 3i
typedef struct {
int depth;
int bits_per_pixel;
int scanline_pad;
int depth;
int bits_per_pixel;
int scanline_pad;
} XPixmapFormatValues;
.De
.SH "SEE ALSO"

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp

View file

@ -75,7 +75,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp
@ -320,12 +320,10 @@ The
structure contains:
.LP
.Ds 0
.TA .5i 3i
.ta .5i 3i
typedef struct {
int family; /\&* for example FamilyInternet */
int length; /\&* length of address, in bytes */
char *address; /\&* pointer to where to find the address */
int family; /\&* for example FamilyInternet */
int length; /\&* length of address, in bytes */
char *address; /\&* pointer to where to find the address */
} XHostAddress;
.De
.LP
@ -346,13 +344,11 @@ member is a pointer to a
structure which contains:
.LP
.Ds 0
.TA .5i 3i
.ta .5i 3i
typedef struct {
int typelength; /\&* length of type string, in bytes */
int valuelength; /\&* length of value string, in bytes */
char *type; /\&* pointer to where to find the type string */
char *value; /\&* pointer to where to find the address */
int typelength; /\&* length of type string, in bytes */
int valuelength; /\&* length of value string, in bytes */
char *type; /\&* pointer to where to find the type string */
char *value; /\&* pointer to where to find the address */
} XServerInterpretedAddress;
.De
.LP

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp
@ -221,13 +221,10 @@ structure contains:
.LP
.IN "XClassHint" "" "@DEF@"
.Ds 0
.TA .5i
.ta .5i
typedef struct {
char *res_name;
char *res_class;
char *res_name;
char *res_class;
} XClassHint;
.De
.LP
The res_name member contains the application name,
and the res_class member contains the application class.

View file

@ -50,7 +50,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp
@ -224,12 +224,10 @@ structure contains:
.LP
.IN "XIconSize" "" "@DEF@"
.Ds 0
.TA .5i 2.5i
.ta .5i 2.5i
typedef struct {
int min_width, min_height;
int max_width, max_height;
int width_inc, height_inc;
int min_width, min_height;
int max_width, max_height;
int width_inc, height_inc;
} XIconSize;
.De
.LP

View file

@ -50,7 +50,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp
@ -426,24 +426,22 @@ T}
.TE
.IN "XSizeHints" "" "@DEF@"
.Ds 0
.TA .5i 2.5i
.ta .5i 2.5i
/\&* Values */
typedef struct {
long flags; /\&* marks which fields in this structure are defined */
int x, y; /\&* Obsolete */
int width, height; /\&* Obsolete */
int min_width, min_height;
int max_width, max_height;
int width_inc, height_inc;
struct {
int x; /\&* numerator */
int y; /\&* denominator */
} min_aspect, max_aspect;
int base_width, base_height;
int win_gravity;
/\&* this structure may be extended in the future */
long flags; /\&* marks which fields in this structure are defined */
int x, y; /\&* Obsolete */
int width, height; /\&* Obsolete */
int min_width, min_height;
int max_width, max_height;
int width_inc, height_inc;
struct {
int x; /\&* numerator */
int y; /\&* denominator */
} min_aspect, max_aspect;
int base_width, base_height;
int win_gravity;
/\&* this structure may be extended in the future */
} XSizeHints;
.De
.LP

View file

@ -50,7 +50,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp
@ -296,19 +296,17 @@ T}
/\&* Values */
.IN "XStandardColormap" "" "@DEF@"
.Ds 0
.TA .5i 2.5i
.ta .5i 2.5i
typedef struct {
Colormap colormap;
unsigned long red_max;
unsigned long red_mult;
unsigned long green_max;
unsigned long green_mult;
unsigned long blue_max;
unsigned long blue_mult;
unsigned long base_pixel;
VisualID visualid;
XID killid;
Colormap colormap;
unsigned long red_max;
unsigned long red_mult;
unsigned long green_max;
unsigned long green_mult;
unsigned long blue_max;
unsigned long blue_mult;
unsigned long base_pixel;
VisualID visualid;
XID killid;
} XStandardColormap;
.De
.LP

View file

@ -50,7 +50,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp
@ -147,14 +147,12 @@ All the event structures declared in
.Pn < X11/Xlib.h >
have the following common members:
.Ds 0
.TA .5i 3i
.ta .5i 3i
typedef struct {
int type;
unsigned long serial; /\&* # of last request processed by server */
Bool send_event; /\&* true if this came from a SendEvent request */
Display *display; /\&* Display the event was read from */
Window window;
int type;
unsigned long serial; /\&* # of last request processed by server */
Bool send_event; /\&* true if this came from a SendEvent request */
Display *display; /\&* Display the event was read from */
Window window;
} XAnyEvent;
.De
.LP
@ -181,42 +179,40 @@ The
.ZN XEvent
structure is a union of the individual structures declared for each event type:
.Ds 0
.TA .5i 3i
.ta .5i 3i
typedef union _XEvent {
int type; /\&* must not be changed */
XAnyEvent xany;
XKeyEvent xkey;
XButtonEvent xbutton;
XMotionEvent xmotion;
XCrossingEvent xcrossing;
XFocusChangeEvent xfocus;
XExposeEvent xexpose;
XGraphicsExposeEvent xgraphicsexpose;
XNoExposeEvent xnoexpose;
XVisibilityEvent xvisibility;
XCreateWindowEvent xcreatewindow;
XDestroyWindowEvent xdestroywindow;
XUnmapEvent xunmap;
XMapEvent xmap;
XMapRequestEvent xmaprequest;
XReparentEvent xreparent;
XConfigureEvent xconfigure;
XGravityEvent xgravity;
XResizeRequestEvent xresizerequest;
XConfigureRequestEvent xconfigurerequest;
XCirculateEvent xcirculate;
XCirculateRequestEvent xcirculaterequest;
XPropertyEvent xproperty;
XSelectionClearEvent xselectionclear;
XSelectionRequestEvent xselectionrequest;
XSelectionEvent xselection;
XColormapEvent xcolormap;
XClientMessageEvent xclient;
XMappingEvent xmapping;
XErrorEvent xerror;
XKeymapEvent xkeymap;
long pad[24];
int type; /\&* must not be changed */
XAnyEvent xany;
XKeyEvent xkey;
XButtonEvent xbutton;
XMotionEvent xmotion;
XCrossingEvent xcrossing;
XFocusChangeEvent xfocus;
XExposeEvent xexpose;
XGraphicsExposeEvent xgraphicsexpose;
XNoExposeEvent xnoexpose;
XVisibilityEvent xvisibility;
XCreateWindowEvent xcreatewindow;
XDestroyWindowEvent xdestroywindow;
XUnmapEvent xunmap;
XMapEvent xmap;
XMapRequestEvent xmaprequest;
XReparentEvent xreparent;
XConfigureEvent xconfigure;
XGravityEvent xgravity;
XResizeRequestEvent xresizerequest;
XConfigureRequestEvent xconfigurerequest;
XCirculateEvent xcirculate;
XCirculateRequestEvent xcirculaterequest;
XPropertyEvent xproperty;
XSelectionClearEvent xselectionclear;
XSelectionRequestEvent xselectionrequest;
XSelectionEvent xselection;
XColormapEvent xcolormap;
XClientMessageEvent xclient;
XMappingEvent xmapping;
XErrorEvent xerror;
XKeymapEvent xkeymap;
long pad[24];
} XEvent;
.De
.LP

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp
@ -153,66 +153,60 @@ and
events contain:
.LP
.Ds 0
.TA .5i 3i
.ta .5i 3i
typedef struct {
int type; /\&* ButtonPress or ButtonRelease */
unsigned long serial; /\&* # of last request processed by server */
Bool send_event; /\&* true if this came from a SendEvent request */
Display *display; /\&* Display the event was read from */
Window window; /\&* ``event'' window it is reported relative to */
Window root; /\&* root window that the event occurred on */
Window subwindow; /\&* child window */
Time time; /\&* milliseconds */
int x, y; /\&* pointer x, y coordinates in event window */
int x_root, y_root; /\&* coordinates relative to root */
unsigned int state; /\&* key or button mask */
unsigned int button; /\&* detail */
Bool same_screen; /\&* same screen flag */
int type; /\&* ButtonPress or ButtonRelease */
unsigned long serial; /\&* # of last request processed by server */
Bool send_event; /\&* true if this came from a SendEvent request */
Display *display; /\&* Display the event was read from */
Window window; /\&* ``event'' window it is reported relative to */
Window root; /\&* root window that the event occurred on */
Window subwindow; /\&* child window */
Time time; /\&* milliseconds */
int x, y; /\&* pointer x, y coordinates in event window */
int x_root, y_root; /\&* coordinates relative to root */
unsigned int state; /\&* key or button mask */
unsigned int button; /\&* detail */
Bool same_screen; /\&* same screen flag */
} XButtonEvent;
typedef XButtonEvent XButtonPressedEvent;
typedef XButtonEvent XButtonReleasedEvent;
.De
.LP
.Ds 0
.TA .5i 3i
.ta .5i 3i
typedef struct {
int type; /\&* KeyPress or KeyRelease */
unsigned long serial; /\&* # of last request processed by server */
Bool send_event; /\&* true if this came from a SendEvent request */
Display *display; /\&* Display the event was read from */
Window window; /\&* ``event'' window it is reported relative to */
Window root; /\&* root window that the event occurred on */
Window subwindow; /\&* child window */
Time time; /\&* milliseconds */
int x, y; /\&* pointer x, y coordinates in event window */
int x_root, y_root; /\&* coordinates relative to root */
unsigned int state; /\&* key or button mask */
unsigned int keycode; /\&* detail */
Bool same_screen; /\&* same screen flag */
int type; /\&* KeyPress or KeyRelease */
unsigned long serial; /\&* # of last request processed by server */
Bool send_event; /\&* true if this came from a SendEvent request */
Display *display; /\&* Display the event was read from */
Window window; /\&* ``event'' window it is reported relative to */
Window root; /\&* root window that the event occurred on */
Window subwindow; /\&* child window */
Time time; /\&* milliseconds */
int x, y; /\&* pointer x, y coordinates in event window */
int x_root, y_root; /\&* coordinates relative to root */
unsigned int state; /\&* key or button mask */
unsigned int keycode; /\&* detail */
Bool same_screen; /\&* same screen flag */
} XKeyEvent;
typedef XKeyEvent XKeyPressedEvent;
typedef XKeyEvent XKeyReleasedEvent;
.De
.LP
.Ds 0
.TA .5i 3i
.ta .5i 3i
typedef struct {
int type; /\&* MotionNotify */
unsigned long serial; /\&* # of last request processed by server */
Bool send_event; /\&* true if this came from a SendEvent request */
Display *display; /\&* Display the event was read from */
Window window; /\&* ``event'' window reported relative to */
Window root; /\&* root window that the event occurred on */
Window subwindow; /\&* child window */
Time time; /\&* milliseconds */
int x, y; /\&* pointer x, y coordinates in event window */
int x_root, y_root; /\&* coordinates relative to root */
unsigned int state; /\&* key or button mask */
char is_hint; /\&* detail */
Bool same_screen; /\&* same screen flag */
int type; /\&* MotionNotify */
unsigned long serial; /\&* # of last request processed by server */
Bool send_event; /\&* true if this came from a SendEvent request */
Display *display; /\&* Display the event was read from */
Window window; /\&* ``event'' window reported relative to */
Window root; /\&* root window that the event occurred on */
Window subwindow; /\&* child window */
Time time; /\&* milliseconds */
int x, y; /\&* pointer x, y coordinates in event window */
int x_root, y_root; /\&* coordinates relative to root */
unsigned int state; /\&* key or button mask */
char is_hint; /\&* detail */
Bool same_screen; /\&* same screen flag */
} XMotionEvent;
typedef XMotionEvent XPointerMovedEvent;
.De

View file

@ -50,7 +50,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp
@ -311,20 +311,18 @@ T}
.TE
.IN "XKeyboardControl" "" "@DEF@"
.Ds 0
.TA .5i 2.5i
.ta .5i 2.5i
/\&* Values */
typedef struct {
int key_click_percent;
int bell_percent;
int bell_pitch;
int bell_duration;
int led;
int led_mode; /\&* LedModeOn, LedModeOff */
int key;
int auto_repeat_mode; /\&* AutoRepeatModeOff, AutoRepeatModeOn,
AutoRepeatModeDefault */
int key_click_percent;
int bell_percent;
int bell_pitch;
int bell_duration;
int led;
int led_mode; /\&* LedModeOn, LedModeOff */
int key;
int auto_repeat_mode; /\&* AutoRepeatModeOff, AutoRepeatModeOn,
AutoRepeatModeDefault */
} XKeyboardControl;
.De
.LP
@ -405,15 +403,13 @@ The
structure contains:
.LP
.Ds 0
.TA .5i
.ta .5i
typedef struct {
int key_click_percent;
int bell_percent;
unsigned int bell_pitch, bell_duration;
unsigned long led_mask;
int global_auto_repeat;
char auto_repeats[32];
int key_click_percent;
int bell_percent;
unsigned int bell_pitch, bell_duration;
unsigned long led_mask;
int global_auto_repeat;
char auto_repeats[32];
} XKeyboardState;
.De
.LP

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp
@ -423,11 +423,9 @@ The
structure contains:
.LP
.Ds 0
.TA .5i 2.5i
.ta .5i 2.5i
typedef struct {
int max_keypermod; /\&* This server's max number of keys per modifier */
KeyCode *modifiermap; /\&* An 8 by max_keypermod array of the modifiers */
int max_keypermod; /\&* This server's max number of keys per modifier */
KeyCode *modifiermap; /\&* An 8 by max_keypermod array of the modifiers */
} XModifierKeymap;
.De
.SH DIAGNOSTICS

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp
@ -148,16 +148,14 @@ The structure for
events contains:
.LP
.Ds 0
.TA .5i 3i
.ta .5i 3i
typedef struct {
int type; /\&* CirculateNotify */
unsigned long serial; /\&* # of last request processed by server */
Bool send_event; /\&* true if this came from a SendEvent request */
Display *display; /\&* Display the event was read from */
Window event;
Window window;
int place; /\&* PlaceOnTop, PlaceOnBottom */
int type; /\&* CirculateNotify */
unsigned long serial; /\&* # of last request processed by server */
Bool send_event; /\&* true if this came from a SendEvent request */
Display *display; /\&* Display the event was read from */
Window event;
Window window;
int place; /\&* PlaceOnTop, PlaceOnBottom */
} XCirculateEvent;
.De
.LP

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp
@ -148,16 +148,14 @@ The structure for
events contains:
.LP
.Ds 0
.TA .5i 3i
.ta .5i 3i
typedef struct {
int type; /\&* CirculateRequest */
unsigned long serial; /\&* # of last request processed by server */
Bool send_event; /\&* true if this came from a SendEvent request */
Display *display; /\&* Display the event was read from */
Window parent;
Window window;
int place; /\&* PlaceOnTop, PlaceOnBottom */
int type; /\&* CirculateRequest */
unsigned long serial; /\&* # of last request processed by server */
Bool send_event; /\&* true if this came from a SendEvent request */
Display *display; /\&* Display the event was read from */
Window parent;
Window window;
int place; /\&* PlaceOnTop, PlaceOnBottom */
} XCirculateRequestEvent;
.De
.LP

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp
@ -148,21 +148,19 @@ The structure for
events contains:
.LP
.Ds 0
.TA .5i 1i 3i
.ta .5i 1i 3i
typedef struct {
int type; /\&* ClientMessage */
unsigned long serial; /\&* # of last request processed by server */
Bool send_event; /\&* true if this came from a SendEvent request */
Display *display; /\&* Display the event was read from */
Window window;
Atom message_type;
int format;
union {
char b[20];
short s[10];
long l[5];
} data;
int type; /\&* ClientMessage */
unsigned long serial; /\&* # of last request processed by server */
Bool send_event; /\&* true if this came from a SendEvent request */
Display *display; /\&* Display the event was read from */
Window window;
Atom message_type;
int format;
union {
char b[20];
short s[10];
long l[5];
} data;
} XClientMessageEvent;
.De
.LP

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp
@ -148,17 +148,15 @@ The structure for
events contains:
.LP
.Ds 0
.TA .5i 3i
.ta .5i 3i
typedef struct {
int type; /\&* ColormapNotify */
unsigned long serial; /\&* # of last request processed by server */
Bool send_event; /\&* true if this came from a SendEvent request */
Display *display; /\&* Display the event was read from */
Window window;
Colormap colormap; /\&* colormap or None */
Bool new;
int state; /\&* ColormapInstalled, ColormapUninstalled */
int type; /\&* ColormapNotify */
unsigned long serial; /\&* # of last request processed by server */
Bool send_event; /\&* true if this came from a SendEvent request */
Display *display; /\&* Display the event was read from */
Window window;
Colormap colormap; /\&* colormap or None */
Bool new;
int state; /\&* ColormapInstalled, ColormapUninstalled */
} XColormapEvent;
.De
.LP

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp
@ -148,20 +148,18 @@ The structure for
events contains:
.LP
.Ds 0
.TA .5i 3i
.ta .5i 3i
typedef struct {
int type; /\&* ConfigureNotify */
unsigned long serial; /\&* # of last request processed by server */
Bool send_event; /\&* true if this came from a SendEvent request */
Display *display; /\&* Display the event was read from */
Window event;
Window window;
int x, y;
int width, height;
int border_width;
Window above;
Bool override_redirect;
int type; /\&* ConfigureNotify */
unsigned long serial; /\&* # of last request processed by server */
Bool send_event; /\&* true if this came from a SendEvent request */
Display *display; /\&* Display the event was read from */
Window event;
Window window;
int x, y;
int width, height;
int border_width;
Window above;
Bool override_redirect;
} XConfigureEvent;
.De
.LP

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp
@ -148,21 +148,19 @@ The structure for
events contains:
.LP
.Ds 0
.TA .5i 3i
.ta .5i 3i
typedef struct {
int type; /\&* ConfigureRequest */
unsigned long serial; /\&* # of last request processed by server */
Bool send_event; /\&* true if this came from a SendEvent request */
Display *display; /\&* Display the event was read from */
Window parent;
Window window;
int x, y;
int width, height;
int border_width;
Window above;
int detail; /\&* Above, Below, TopIf, BottomIf, Opposite */
unsigned long value_mask;
int type; /\&* ConfigureRequest */
unsigned long serial; /\&* # of last request processed by server */
Bool send_event; /\&* true if this came from a SendEvent request */
Display *display; /\&* Display the event was read from */
Window parent;
Window window;
int x, y;
int width, height;
int border_width;
Window above;
int detail; /\&* Above, Below, TopIf, BottomIf, Opposite */
unsigned long value_mask;
} XConfigureRequestEvent;
.De
.LP

View file

@ -50,7 +50,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp
@ -387,16 +387,14 @@ T}
.TE
.IN "XWindowChanges" "" "@DEF@"
.Ds 0
.TA .5i 3i
.ta .5i 3i
/\&* Values */
typedef struct {
int x, y;
int width, height;
int border_width;
Window sibling;
int stack_mode;
int x, y;
int width, height;
int border_width;
Window sibling;
int stack_mode;
} XWindowChanges;
.De
.LP

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp
@ -308,13 +308,11 @@ The
structure contains:
.LP
.Ds 0
.TA .5i 2.5i
.ta .5i 2.5i
typedef struct {
unsigned long pixel; /\&* pixel value */
unsigned short red, green, blue; /\&* rgb values */
char flags; /\&* DoRed, DoGreen, DoBlue */
char pad;
unsigned long pixel; /\&* pixel value */
unsigned short red, green, blue; /\&* rgb values */
char flags; /\&* DoRed, DoGreen, DoBlue */
char pad;
} XColor;
.De
.LP

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp

View file

@ -50,7 +50,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp
@ -476,34 +476,32 @@ T}
.TE
.IN "XGCValues" "" "@DEF@"
.Ds 0
.TA .5i 3i
.ta .5i 3i
/\&* Values */
typedef struct {
int function; /\&* logical operation */
unsigned long plane_mask; /\&* plane mask */
unsigned long foreground; /\&* foreground pixel */
unsigned long background; /\&* background pixel */
int line_width; /\&* line width (in pixels) */
int line_style; /\&* LineSolid, LineOnOffDash, LineDoubleDash */
int cap_style; /\&* CapNotLast, CapButt, CapRound, CapProjecting */
int join_style; /\&* JoinMiter, JoinRound, JoinBevel */
int fill_style; /\&* FillSolid, FillTiled, FillStippled FillOpaqueStippled*/
int fill_rule; /\&* EvenOddRule, WindingRule */
int arc_mode; /\&* ArcChord, ArcPieSlice */
Pixmap tile; /\&* tile pixmap for tiling operations */
Pixmap stipple; /\&* stipple 1 plane pixmap for stippling */
int ts_x_origin; /\&* offset for tile or stipple operations */
int ts_y_origin;
Font font; /\&* default text font for text operations */
int subwindow_mode; /\&* ClipByChildren, IncludeInferiors */
Bool graphics_exposures; /\&* boolean, should exposures be generated */
int clip_x_origin; /\&* origin for clipping */
int clip_y_origin;
Pixmap clip_mask; /\&* bitmap clipping; other calls for rects */
int dash_offset; /\&* patterned/dashed line information */
char dashes;
int function; /\&* logical operation */
unsigned long plane_mask; /\&* plane mask */
unsigned long foreground; /\&* foreground pixel */
unsigned long background; /\&* background pixel */
int line_width; /\&* line width (in pixels) */
int line_style; /\&* LineSolid, LineOnOffDash, LineDoubleDash */
int cap_style; /\&* CapNotLast, CapButt, CapRound, CapProjecting */
int join_style; /\&* JoinMiter, JoinRound, JoinBevel */
int fill_style; /\&* FillSolid, FillTiled, FillStippled FillOpaqueStippled*/
int fill_rule; /\&* EvenOddRule, WindingRule */
int arc_mode; /\&* ArcChord, ArcPieSlice */
Pixmap tile; /\&* tile pixmap for tiling operations */
Pixmap stipple; /\&* stipple 1 plane pixmap for stippling */
int ts_x_origin; /\&* offset for tile or stipple operations */
int ts_y_origin;
Font font; /\&* default text font for text operations */
int subwindow_mode; /\&* ClipByChildren, IncludeInferiors */
Bool graphics_exposures; /\&* boolean, should exposures be generated */
int clip_x_origin; /\&* origin for clipping */
int clip_y_origin;
Pixmap clip_mask; /\&* bitmap clipping; other calls for rects */
int dash_offset; /\&* patterned/dashed line information */
char dashes;
} XGCValues;
.De
.LP
@ -685,8 +683,6 @@ the bounding box of a wide line with endpoints [x1, y1], [x2, y2] and
width w is a rectangle with vertices at the following real coordinates:
.LP
.Ds
.TA .5i 2.5i
.ta .5i 2.5i
[x1-(w*sn/2), y1+(w*cs/2)], [x1+(w*sn/2), y1-(w*cs/2)],
[x2-(w*sn/2), y2+(w*cs/2)], [x2+(w*sn/2), y2-(w*cs/2)]
.De

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp

View file

@ -50,7 +50,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp
@ -428,26 +428,24 @@ T}
.TE
.IN "XSetWindowAttributes" "" "@DEF@"
.Ds 0
.TA .5i 3i
.ta .5i 3i
/\&* Values */
typedef struct {
Pixmap background_pixmap; /\&* background, None, or ParentRelative */
unsigned long background_pixel; /\&* background pixel */
Pixmap border_pixmap; /\&* border of the window or CopyFromParent */
unsigned long border_pixel; /\&* border pixel value */
int bit_gravity; /\&* one of bit gravity values */
int win_gravity; /\&* one of the window gravity values */
int backing_store; /\&* NotUseful, WhenMapped, Always */
unsigned long backing_planes; /\&* planes to be preserved if possible */
unsigned long backing_pixel; /\&* value to use in restoring planes */
Bool save_under; /\&* should bits under be saved? (popups) */
long event_mask; /\&* set of events that should be saved */
long do_not_propagate_mask; /\&* set of events that should not propagate */
Bool override_redirect; /\&* boolean value for override_redirect */
Colormap colormap; /\&* color map to be associated with window */
Cursor cursor; /\&* cursor to be displayed (or None) */
Pixmap background_pixmap; /\&* background, None, or ParentRelative */
unsigned long background_pixel; /\&* background pixel */
Pixmap border_pixmap; /\&* border of the window or CopyFromParent */
unsigned long border_pixel; /\&* border pixel value */
int bit_gravity; /\&* one of bit gravity values */
int win_gravity; /\&* one of the window gravity values */
int backing_store; /\&* NotUseful, WhenMapped, Always */
unsigned long backing_planes; /\&* planes to be preserved if possible */
unsigned long backing_pixel; /\&* value to use in restoring planes */
Bool save_under; /\&* should bits under be saved? (popups) */
long event_mask; /\&* set of events that should be saved */
long do_not_propagate_mask; /\&* set of events that should not propagate */
Bool override_redirect; /\&* boolean value for override_redirect */
Colormap colormap; /\&* color map to be associated with window */
Cursor cursor; /\&* cursor to be displayed (or None) */
} XSetWindowAttributes;
.De
.LP

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp
@ -148,19 +148,17 @@ The structure for
events contains:
.LP
.Ds 0
.TA .5i 3i
.ta .5i 3i
typedef struct {
int type; /\&* CreateNotify */
unsigned long serial; /\&* # of last request processed by server */
Bool send_event; /\&* true if this came from a SendEvent request */
Display *display; /\&* Display the event was read from */
Window parent; /\&* parent of the window */
Window window; /\&* window id of window created */
int x, y; /\&* window location */
int width, height; /\&* size of window */
int border_width; /\&* border width */
Bool override_redirect; /\&* creation should be overridden */
int type; /\&* CreateNotify */
unsigned long serial; /\&* # of last request processed by server */
Bool send_event; /\&* true if this came from a SendEvent request */
Display *display; /\&* Display the event was read from */
Window parent; /\&* parent of the window */
Window window; /\&* window id of window created */
int x, y; /\&* window location */
int width, height; /\&* size of window */
int border_width; /\&* border width */
Bool override_redirect; /\&* creation should be overridden */
} XCreateWindowEvent;
.De
.LP

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp
@ -150,28 +150,26 @@ and
events contains:
.LP
.Ds 0
.TA .5i 3i
.ta .5i 3i
typedef struct {
int type; /\&* EnterNotify or LeaveNotify */
unsigned long serial; /\&* # of last request processed by server */
Bool send_event; /\&* true if this came from a SendEvent request */
Display *display; /\&* Display the event was read from */
Window window; /\&* ``event'' window reported relative to */
Window root; /\&* root window that the event occurred on */
Window subwindow; /\&* child window */
Time time; /\&* milliseconds */
int x, y; /\&* pointer x, y coordinates in event window */
int x_root, y_root; /\&* coordinates relative to root */
int mode; /\&* NotifyNormal, NotifyGrab, NotifyUngrab */
int detail;
/\&*
* NotifyAncestor, NotifyVirtual, NotifyInferior,
* NotifyNonlinear,NotifyNonlinearVirtual
*/
Bool same_screen; /\&* same screen flag */
Bool focus; /\&* boolean focus */
unsigned int state; /\&* key or button mask */
int type; /\&* EnterNotify or LeaveNotify */
unsigned long serial; /\&* # of last request processed by server */
Bool send_event; /\&* true if this came from a SendEvent request */
Display *display; /\&* Display the event was read from */
Window window; /\&* ``event'' window reported relative to */
Window root; /\&* root window that the event occurred on */
Window subwindow; /\&* child window */
Time time; /\&* milliseconds */
int x, y; /\&* pointer x, y coordinates in event window */
int x_root, y_root; /\&* coordinates relative to root */
int mode; /\&* NotifyNormal, NotifyGrab, NotifyUngrab */
int detail;
/\&*
* NotifyAncestor, NotifyVirtual, NotifyInferior,
* NotifyNonlinear,NotifyNonlinearVirtual
*/
Bool same_screen; /\&* same screen flag */
Bool focus; /\&* boolean focus */
unsigned int state; /\&* key or button mask */
} XCrossingEvent;
typedef XCrossingEvent XEnterWindowEvent;
typedef XCrossingEvent XLeaveWindowEvent;

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp
@ -148,15 +148,13 @@ The structure for
events contains:
.LP
.Ds 0
.TA .5i 3i
.ta .5i 3i
typedef struct {
int type; /\&* DestroyNotify */
unsigned long serial; /\&* # of last request processed by server */
Bool send_event; /\&* true if this came from a SendEvent request */
Display *display; /\&* Display the event was read from */
Window event;
Window window;
int type; /\&* DestroyNotify */
unsigned long serial; /\&* # of last request processed by server */
Bool send_event; /\&* true if this came from a SendEvent request */
Display *display; /\&* Display the event was read from */
Window event;
Window window;
} XDestroyWindowEvent;
.De
.LP

View file

@ -50,7 +50,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp
@ -266,10 +266,8 @@ The
structure contains:
.LP
.Ds 0
.TA .5i
.ta .5i
typedef struct {
short x1, y1, x2, y2;
short x1, y1, x2, y2;
} XSegment;
.De
.LP

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp
@ -210,10 +210,8 @@ The
structure contains:
.LP
.Ds 0
.TA .5i
.ta .5i
typedef struct {
short x, y;
short x, y;
} XPoint;
.De
.LP

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp
@ -215,11 +215,9 @@ The
structure contains:
.LP
.Ds 0
.TA .5i
.ta .5i
typedef struct {
short x, y;
unsigned short width, height;
short x, y;
unsigned short width, height;
} XRectangle;
.De
.LP

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp
@ -223,24 +223,20 @@ and
structures contain:
.LP
.Ds 0
.TA .5i 3i
.ta .5i 3i
typedef struct {
char *chars; /\&* pointer to string */
int nchars; /\&* number of characters */
int delta; /\&* delta between strings */
Font font; /\&* Font to print it in, None don't change */
char *chars; /\&* pointer to string */
int nchars; /\&* number of characters */
int delta; /\&* delta between strings */
Font font; /\&* Font to print it in, None don't change */
} XTextItem;
.De
.LP
.Ds 0
.TA .5i 3i
.ta .5i 3i
typedef struct {
XChar2b *chars; /\&* pointer to two-byte characters */
int nchars; /\&* number of characters */
int delta; /\&* delta between strings */
Font font; /\&* font to print it in, None don't change */
XChar2b *chars; /\&* pointer to two-byte characters */
int nchars; /\&* number of characters */
int delta; /\&* delta between strings */
Font font; /\&* font to print it in, None don't change */
} XTextItem16;
.De
.LP

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp
@ -148,16 +148,14 @@ The
structure contains:
.LP
.Ds 0
.TA .5i 2.5i
.ta .5i 2.5i
typedef struct {
int type;
Display *display; /\&* Display the event was read from */
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 */
int type;
Display *display; /\&* Display the event was read from */
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

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp
@ -148,17 +148,15 @@ The structure for
events contains:
.LP
.Ds 0
.TA .5i 3i
.ta .5i 3i
typedef struct {
int type; /\&* Expose */
unsigned long serial; /\&* # of last request processed by server */
Bool send_event; /\&* true if this came from a SendEvent request */
Display *display; /\&* Display the event was read from */
Window window;
int x, y;
int width, height;
int count; /\&* if nonzero, at least this many more */
int type; /\&* Expose */
unsigned long serial; /\&* # of last request processed by server */
Bool send_event; /\&* true if this came from a SendEvent request */
Display *display; /\&* Display the event was read from */
Window window;
int x, y;
int width, height;
int count; /\&* if nonzero, at least this many more */
} XExposeEvent;
.De
.LP

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp
@ -150,21 +150,19 @@ and
events contains:
.LP
.Ds 0
.TA .5i 3i
.ta .5i 3i
typedef struct {
int type; /\&* FocusIn or FocusOut */
unsigned long serial; /\&* # of last request processed by server */
Bool send_event; /\&* true if this came from a SendEvent request */
Display *display; /\&* Display the event was read from */
Window window; /\&* window of event */
int mode; /\&* NotifyNormal, NotifyGrab, NotifyUngrab */
int detail;
/\&*
* NotifyAncestor, NotifyVirtual, NotifyInferior,
* NotifyNonlinear,NotifyNonlinearVirtual, NotifyPointer,
* NotifyPointerRoot, NotifyDetailNone
*/
int type; /\&* FocusIn or FocusOut */
unsigned long serial; /\&* # of last request processed by server */
Bool send_event; /\&* true if this came from a SendEvent request */
Display *display; /\&* Display the event was read from */
Window window; /\&* window of event */
int mode; /\&* NotifyNormal, NotifyGrab, NotifyUngrab */
int detail;
/\&*
* NotifyAncestor, NotifyVirtual, NotifyInferior,
* NotifyNonlinear,NotifyNonlinearVirtual, NotifyPointer,
* NotifyPointerRoot, NotifyDetailNone
*/
} XFocusChangeEvent;
typedef XFocusChangeEvent XFocusInEvent;
typedef XFocusChangeEvent XFocusOutEvent;

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp
@ -148,11 +148,9 @@ The
structure contains:
.LP
.Ds 0
.TA .5i 3i
.ta .5i 3i
typedef struct {
XRectangle max_ink_extent; /\&* over all drawable characters */
XRectangle max_logical_extent; /\&* over all drawable characters */
XRectangle max_ink_extent; /\&* over all drawable characters */
XRectangle max_logical_extent; /\&* over all drawable characters */
} XFontSetExtents;
.De
.LP

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp

View file

@ -27,7 +27,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp
@ -134,17 +134,15 @@ Specifies the cookie to free or retrieve the data for.
.SH STRUCTURES
.Ds 0
.TA .5i 3i
.ta .5i 3i
typedef struct {
int type;
unsigned long serial;
Bool send_event;
Display *display;
int extension;
int evtype;
unsigned int cookie;
void *data;
int type;
unsigned long serial;
Bool send_event;
Display *display;
int extension;
int evtype;
unsigned int cookie;
void *data;
} XGenericEventCookie;
.De

View file

@ -50,7 +50,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp
@ -290,21 +290,19 @@ T}
.TE
.IN "XVisualInfo" "" "@DEF@"
.Ds 0
.TA .5i 3i
.ta .5i 3i
/\&* Values */
typedef struct {
Visual *visual;
VisualID visualid;
int screen;
int depth;
int class;
unsigned long red_mask;
unsigned long green_mask;
unsigned long blue_mask;
int colormap_size;
int bits_per_rgb;
Visual *visual;
VisualID visualid;
int screen;
int depth;
int class;
unsigned long red_mask;
unsigned long green_mask;
unsigned long blue_mask;
int colormap_size;
int bits_per_rgb;
} XVisualInfo;
.De
.SH "SEE ALSO"

View file

@ -50,7 +50,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp
@ -217,30 +217,28 @@ The
structure contains:
.LP
.Ds 0
.TA .5i 3i
.ta .5i 3i
typedef struct {
int x, y; /\&* location of window */
int width, height; /\&* width and height of window */
int border_width; /\&* border width of window */
int depth; /\&* depth of window */
Visual *visual; /\&* the associated visual structure */
Window root; /\&* root of screen containing window */
int class; /\&* InputOutput, InputOnly*/
int bit_gravity; /\&* one of the bit gravity values */
int win_gravity; /\&* one of the window gravity values */
int backing_store; /\&* NotUseful, WhenMapped, Always */
unsigned long backing_planes; /\&* planes to be preserved if possible */
unsigned long backing_pixel; /\&* value to be used when restoring planes */
Bool save_under; /\&* boolean, should bits under be saved? */
Colormap colormap; /\&* color map to be associated with window */
Bool map_installed; /\&* boolean, is color map currently installed*/
int map_state; /\&* IsUnmapped, IsUnviewable, IsViewable */
long all_event_masks; /\&* set of events all people have interest in*/
long your_event_mask; /\&* my event mask */
long do_not_propagate_mask; /\&* set of events that should not propagate */
Bool override_redirect; /\&* boolean value for override-redirect */
Screen *screen; /\&* back pointer to correct screen */
int x, y; /\&* location of window */
int width, height; /\&* width and height of window */
int border_width; /\&* border width of window */
int depth; /\&* depth of window */
Visual *visual; /\&* the associated visual structure */
Window root; /\&* root of screen containing window */
int class; /\&* InputOutput, InputOnly*/
int bit_gravity; /\&* one of the bit gravity values */
int win_gravity; /\&* one of the window gravity values */
int backing_store; /\&* NotUseful, WhenMapped, Always */
unsigned long backing_planes; /\&* planes to be preserved if possible */
unsigned long backing_pixel; /\&* value to be used when restoring planes */
Bool save_under; /\&* boolean, should bits under be saved? */
Colormap colormap; /\&* color map to be associated with window */
Bool map_installed; /\&* boolean, is color map currently installed*/
int map_state; /\&* IsUnmapped, IsUnviewable, IsViewable */
long all_event_masks; /\&* set of events all people have interest in*/
long your_event_mask; /\&* my event mask */
long do_not_propagate_mask; /\&* set of events that should not propagate */
Bool override_redirect; /\&* boolean value for override-redirect */
Screen *screen; /\&* back pointer to correct screen */
} XWindowAttributes;
.De
.LP

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp
@ -150,33 +150,29 @@ and
events contain:
.LP
.Ds 0
.TA .5i 3i
.ta .5i 3i
typedef struct {
int type; /\&* GraphicsExpose */
unsigned long serial; /\&* # of last request processed by server */
Bool send_event; /\&* true if this came from a SendEvent request */
Display *display; /\&* Display the event was read from */
Drawable drawable;
int x, y;
int width, height;
int count; /\&* if nonzero, at least this many more */
int major_code; /\&* core is CopyArea or CopyPlane */
int minor_code; /\&* not defined in the core */
int type; /\&* GraphicsExpose */
unsigned long serial; /\&* # of last request processed by server */
Bool send_event; /\&* true if this came from a SendEvent request */
Display *display; /\&* Display the event was read from */
Drawable drawable;
int x, y;
int width, height;
int count; /\&* if nonzero, at least this many more */
int major_code; /\&* core is CopyArea or CopyPlane */
int minor_code; /\&* not defined in the core */
} XGraphicsExposeEvent;
.De
.LP
.Ds 0
.TA .5i 3i
.ta .5i 3i
typedef struct {
int type; /\&* NoExpose */
unsigned long serial; /\&* # of last request processed by server */
Bool send_event; /\&* true if this came from a SendEvent request */
Display *display; /\&* Display the event was read from */
Drawable drawable;
int major_code; /\&* core is CopyArea or CopyPlane */
int minor_code; /\&* not defined in the core */
int type; /\&* NoExpose */
unsigned long serial; /\&* # of last request processed by server */
Bool send_event; /\&* true if this came from a SendEvent request */
Display *display; /\&* Display the event was read from */
Drawable drawable;
int major_code; /\&* core is CopyArea or CopyPlane */
int minor_code; /\&* not defined in the core */
} XNoExposeEvent;
.De
.LP

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp
@ -148,16 +148,14 @@ The structure for
events contains:
.LP
.Ds 0
.TA .5i 3i
.ta .5i 3i
typedef struct {
int type; /\&* GravityNotify */
unsigned long serial; /\&* # of last request processed by server */
Bool send_event; /\&* true if this came from a SendEvent request */
Display *display; /\&* Display the event was read from */
Window event;
Window window;
int x, y;
int type; /\&* GravityNotify */
unsigned long serial; /\&* # of last request processed by server */
Bool send_event; /\&* true if this came from a SendEvent request */
Display *display; /\&* Display the event was read from */
Window event;
Window window;
int x, y;
} XGravityEvent;
.De
.LP

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp
@ -148,17 +148,15 @@ The structure for
events contains:
.LP
.Ds 0
.TA .5i 3i
.ta .5i 3i
/\&* generated on EnterWindow and FocusIn when KeymapState selected */
typedef struct {
int type; /\&* KeymapNotify */
unsigned long serial; /\&* # of last request processed by server */
Bool send_event; /\&* true if this came from a SendEvent request */
Display *display; /\&* Display the event was read from */
Window window;
char key_vector[32];
} XKeymapEvent;
int type; /\&* KeymapNotify */
unsigned long serial; /\&* # of last request processed by server */
Bool send_event; /\&* true if this came from a SendEvent request */
Display *display; /\&* Display the event was read from */
Window window;
char key_vector[32];
} XKeymapEvent;
.De
.LP
When you receive this event,

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp
@ -148,16 +148,14 @@ The structure for
events contains:
.LP
.Ds 0
.TA .5i 3i
.ta .5i 3i
typedef struct {
int type; /\&* MapNotify */
unsigned long serial; /\&* # of last request processed by server */
Bool send_event; /\&* true if this came from a SendEvent request */
Display *display; /\&* Display the event was read from */
Window event;
Window window;
Bool override_redirect; /\&* boolean, is override set... */
int type; /\&* MapNotify */
unsigned long serial; /\&* # of last request processed by server */
Bool send_event; /\&* true if this came from a SendEvent request */
Display *display; /\&* Display the event was read from */
Window event;
Window window;
Bool override_redirect; /\&* boolean, is override set... */
} XMapEvent;
.De
.LP
@ -203,18 +201,16 @@ The structure for
events is:
.LP
.Ds 0
.TA .5i 3i
.ta .5i 3i
typedef struct {
int type; /\&* MappingNotify */
unsigned long serial; /\&* # of last request processed by server */
Bool send_event; /\&* true if this came from a SendEvent request */
Display *display; /\&* Display the event was read from */
Window window; /\&* unused */
int request; /\&* one of MappingModifier, MappingKeyboard,
MappingPointer */
int first_keycode; /\&* first keycode */
int count; /\&* defines range of change w. first_keycode*/
int type; /\&* MappingNotify */
unsigned long serial; /\&* # of last request processed by server */
Bool send_event; /\&* true if this came from a SendEvent request */
Display *display; /\&* Display the event was read from */
Window window; /\&* unused */
int request; /\&* one of MappingModifier, MappingKeyboard,
MappingPointer */
int first_keycode; /\&* first keycode */
int count; /\&* defines range of change w. first_keycode*/
} XMappingEvent;
.De
.LP

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp
@ -148,15 +148,13 @@ The structure for
events contains:
.LP
.Ds 0
.TA .5i 3i
.ta .5i 3i
typedef struct {
int type; /\&* MapRequest */
unsigned long serial; /\&* # of last request processed by server */
Bool send_event; /\&* true if this came from a SendEvent request */
Display *display; /\&* Display the event was read from */
Window parent;
Window window;
int type; /\&* MapRequest */
unsigned long serial; /\&* # of last request processed by server */
Bool send_event; /\&* true if this came from a SendEvent request */
Display *display; /\&* Display the event was read from */
Window parent;
Window window;
} XMapRequestEvent;
.De
.LP

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp

View file

@ -50,7 +50,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp
@ -148,17 +148,15 @@ The structure for
events contains:
.LP
.Ds 0
.TA .5i 3i
.ta .5i 3i
typedef struct {
int type; /\&* PropertyNotify */
unsigned long serial; /\&* # of last request processed by server */
Bool send_event; /\&* true if this came from a SendEvent request */
Display *display; /\&* Display the event was read from */
Window window;
Atom atom;
Time time;
int state; /\&* PropertyNewValue or PropertyDelete */
int type; /\&* PropertyNotify */
unsigned long serial; /\&* # of last request processed by server */
Bool send_event; /\&* true if this came from a SendEvent request */
Display *display; /\&* Display the event was read from */
Window window;
Atom atom;
Time time;
int state; /\&* PropertyNewValue or PropertyDelete */
} XPropertyEvent;
.De
.LP

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp

View file

@ -50,7 +50,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp

View file

@ -49,7 +49,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp

Some files were not shown because too many files have changed in this diff Show more