mirror of
https://gitlab.freedesktop.org/xorg/lib/libx11.git
synced 2026-01-07 00:50:14 +01:00
Clean up, my last commit missed four cases.
Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
This commit is contained in:
parent
a7fb575957
commit
6e27a828f3
4 changed files with 19 additions and 31 deletions
|
|
@ -342,8 +342,6 @@ ranges, one then can compute a corresponding pixel value by
|
|||
using the following expression:
|
||||
.LP
|
||||
.Ds
|
||||
.TA .5i 1.5i
|
||||
.ta .5i 1.5i
|
||||
(r * red_mult + g * green_mult + b * blue_mult + base_pixel) & 0xFFFFFFFF
|
||||
.De
|
||||
.LP
|
||||
|
|
@ -358,8 +356,6 @@ To compute a
|
|||
pixel value, use the following expression:
|
||||
.LP
|
||||
.Ds
|
||||
.TA .5i 1.5i
|
||||
.ta .5i 1.5i
|
||||
(gray * red_mult + base_pixel) & 0xFFFFFFFF
|
||||
.De
|
||||
.LP
|
||||
|
|
|
|||
|
|
@ -288,21 +288,19 @@ T}
|
|||
.TE
|
||||
.IN "XWMHints" "" "@DEF@"
|
||||
.Ds 0
|
||||
.TA .5i 2.5i
|
||||
.ta .5i 2.5i
|
||||
/\&* Values */
|
||||
|
||||
typedef struct {
|
||||
long flags; /\&* marks which fields in this structure are defined */
|
||||
Bool input; /\&* does this application rely on the window manager to
|
||||
get keyboard input? */
|
||||
int initial_state; /\&* see below */
|
||||
Pixmap icon_pixmap; /\&* pixmap to be used as icon */
|
||||
Window icon_window; /\&* window to be used as icon */
|
||||
int icon_x, icon_y; /\&* initial position of icon */
|
||||
Pixmap icon_mask; /\&* pixmap to be used as mask for icon_pixmap */
|
||||
XID window_group; /\&* id of related window group */
|
||||
/\&* this structure may be extended in the future */
|
||||
long flags; /\&* marks which fields in this structure are defined */
|
||||
Bool input; /\&* does this application rely on the window manager to
|
||||
get keyboard input? */
|
||||
int initial_state; /\&* see below */
|
||||
Pixmap icon_pixmap; /\&* pixmap to be used as icon */
|
||||
Window icon_window; /\&* window to be used as icon */
|
||||
int icon_x, icon_y; /\&* initial position of icon */
|
||||
Pixmap icon_mask; /\&* pixmap to be used as mask for icon_pixmap */
|
||||
XID window_group; /\&* id of related window group */
|
||||
/\&* this structure may be extended in the future */
|
||||
} XWMHints;
|
||||
.De
|
||||
.LP
|
||||
|
|
|
|||
|
|
@ -186,8 +186,6 @@ for each cookie claimed with
|
|||
|
||||
.SH EXAMPLE CODE
|
||||
.Ds 0
|
||||
.TA .5i 3i
|
||||
.ta .5i 3i
|
||||
XEvent event;
|
||||
XGenericEventCookie *cookie = &ev;
|
||||
|
||||
|
|
|
|||
|
|
@ -403,13 +403,11 @@ The
|
|||
structure contains:
|
||||
.LP
|
||||
.Ds 0
|
||||
.TA .5i 2.5i
|
||||
.ta .5i 2.5i
|
||||
typedef struct {
|
||||
unsigned char *value; /\&* property data */
|
||||
Atom encoding; /\&* type of property */
|
||||
int format; /\&* 8, 16, or 32 */
|
||||
unsigned long nitems; /\&* number of items in value */
|
||||
unsigned char *value; /\&* property data */
|
||||
Atom encoding; /\&* type of property */
|
||||
int format; /\&* 8, 16, or 32 */
|
||||
unsigned long nitems; /\&* number of items in value */
|
||||
} XTextProperty;
|
||||
.De
|
||||
.LP
|
||||
|
|
@ -442,14 +440,12 @@ T} T{
|
|||
T}
|
||||
.TE
|
||||
.Ds 0
|
||||
.TA .5i 2.5i
|
||||
.ta .5i 2.5i
|
||||
typedef enum {
|
||||
XStringStyle, /\&* STRING */
|
||||
XCompoundTextStyle, /\&* COMPOUND_TEXT */
|
||||
XTextStyle, /\&* text in owner's encoding (current locale) */
|
||||
XStdICCTextStyle, /\&* STRING, else COMPOUND_TEXT */
|
||||
XUTF8StringStyle /\&* UTF8_STRING */
|
||||
XStringStyle, /\&* STRING */
|
||||
XCompoundTextStyle, /\&* COMPOUND_TEXT */
|
||||
XTextStyle, /\&* text in owner's encoding (current locale) */
|
||||
XStdICCTextStyle, /\&* STRING, else COMPOUND_TEXT */
|
||||
XUTF8StringStyle /\&* UTF8_STRING */
|
||||
} XICCEncodingStyle;
|
||||
.De
|
||||
.SH "SEE ALSO"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue