mirror of
https://gitlab.freedesktop.org/xorg/lib/libx11.git
synced 2026-05-07 14:28:05 +02:00
Merge branch 'master' into xge
This commit is contained in:
commit
17d7dcbfce
77 changed files with 3864 additions and 2487 deletions
|
|
@ -346,6 +346,7 @@ AC_DEFINE_DIR(X11_LIBDIR, X11_LIBDIR, [Location of libX11 library data])
|
|||
AC_SUBST(X11_LIBDIR)
|
||||
|
||||
X11_CFLAGS="$X11_CFLAGS $XPROTO_CFLAGS"
|
||||
|
||||
AC_SUBST(X11_CFLAGS)
|
||||
AC_SUBST(X11_LIBS)
|
||||
|
||||
|
|
@ -399,6 +400,7 @@ AC_OUTPUT([Makefile
|
|||
modules/om/generic/Makefile
|
||||
src/xkb/Makefile
|
||||
nls/Makefile
|
||||
nls/am_ET.UTF-8/Makefile
|
||||
nls/armscii-8/Makefile
|
||||
nls/C/Makefile
|
||||
nls/el_GR.UTF-8/Makefile
|
||||
|
|
|
|||
|
|
@ -305,9 +305,9 @@ structure contains:
|
|||
.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
|
||||
|
|
@ -331,10 +331,10 @@ structure which contains:
|
|||
.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
|
||||
|
|
|
|||
|
|
@ -324,7 +324,7 @@ The
|
|||
.ZN XSizeHints
|
||||
structure contains:
|
||||
.LP
|
||||
/\(** Size hints mask bits */
|
||||
/\&* Size hints mask bits */
|
||||
.TS
|
||||
lw(.5i) lw(1.1i) lw(1.5i) lw(3.1i).
|
||||
T{
|
||||
|
|
@ -334,7 +334,7 @@ T} T{
|
|||
T} T{
|
||||
(1L << 0)
|
||||
T} T{
|
||||
/\(** user specified x, y */
|
||||
/\&* user specified x, y */
|
||||
T}
|
||||
T{
|
||||
\&#define
|
||||
|
|
@ -343,7 +343,7 @@ T} T{
|
|||
T} T{
|
||||
(1L << 1)
|
||||
T} T{
|
||||
/\(** user specified width, height */
|
||||
/\&* user specified width, height */
|
||||
T}
|
||||
T{
|
||||
\&#define
|
||||
|
|
@ -352,7 +352,7 @@ T} T{
|
|||
T} T{
|
||||
(1L << 2)
|
||||
T} T{
|
||||
/\(** program specified position */
|
||||
/\&* program specified position */
|
||||
T}
|
||||
T{
|
||||
\&#define
|
||||
|
|
@ -361,7 +361,7 @@ T} T{
|
|||
T} T{
|
||||
(1L << 3)
|
||||
T} T{
|
||||
/\(** program specified size */
|
||||
/\&* program specified size */
|
||||
T}
|
||||
T{
|
||||
\&#define
|
||||
|
|
@ -370,7 +370,7 @@ T} T{
|
|||
T} T{
|
||||
(1L << 4)
|
||||
T} T{
|
||||
/\(** program specified minimum size */
|
||||
/\&* program specified minimum size */
|
||||
T}
|
||||
T{
|
||||
\&#define
|
||||
|
|
@ -379,7 +379,7 @@ T} T{
|
|||
T} T{
|
||||
(1L << 5)
|
||||
T} T{
|
||||
/\(** program specified maximum size */
|
||||
/\&* program specified maximum size */
|
||||
T}
|
||||
T{
|
||||
\&#define
|
||||
|
|
@ -388,7 +388,7 @@ T} T{
|
|||
T} T{
|
||||
(1L << 6)
|
||||
T} T{
|
||||
/\(** program specified resize increments */
|
||||
/\&* program specified resize increments */
|
||||
T}
|
||||
T{
|
||||
\&#define
|
||||
|
|
@ -397,7 +397,7 @@ T} T{
|
|||
T} T{
|
||||
(1L << 7)
|
||||
T} T{
|
||||
/\(** program specified min and max aspect ratios */
|
||||
/\&* program specified min and max aspect ratios */
|
||||
T}
|
||||
T{
|
||||
\&#define
|
||||
|
|
@ -430,22 +430,22 @@ T}
|
|||
.Ds 0
|
||||
.TA .5i 2.5i
|
||||
.ta .5i 2.5i
|
||||
/\(** Values */
|
||||
/\&* Values */
|
||||
|
||||
typedef struct {
|
||||
long flags; /\(** marks which fields in this structure are defined */
|
||||
int x, y; /\(** Obsolete */
|
||||
int width, height; /\(** Obsolete */
|
||||
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 */
|
||||
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 */
|
||||
/\&* this structure may be extended in the future */
|
||||
} XSizeHints;
|
||||
.De
|
||||
.LP
|
||||
|
|
|
|||
|
|
@ -284,7 +284,7 @@ The
|
|||
.ZN XStandardColormap
|
||||
structure contains:
|
||||
.LP
|
||||
/\(** Hints */
|
||||
/\&* Hints */
|
||||
.TS
|
||||
lw(.5i) lw(2i) lw(1i).
|
||||
T{
|
||||
|
|
@ -295,7 +295,7 @@ T} T{
|
|||
( (XID) 1L)
|
||||
T}
|
||||
.TE
|
||||
/\(** Values */
|
||||
/\&* Values */
|
||||
.IN "XStandardColormap" "" "@DEF@"
|
||||
.Ds 0
|
||||
.TA .5i 2.5i
|
||||
|
|
|
|||
|
|
@ -46,8 +46,7 @@
|
|||
.\"
|
||||
.ds xT X Toolkit Intrinsics \- C Language Interface
|
||||
.ds xW Athena X Widgets \- C Language X Toolkit Interface
|
||||
.ds xL Xlib \- C Language X Interface, \fRO'Reilly and Associates, Sebastopol,
|
||||
1991.
|
||||
.ds xL Xlib \- C Language X Interface, \fRO'Reilly and Associates, Sebastopol, 1991.
|
||||
.ds xC Inter-Client Communication Conventions Manual
|
||||
.na
|
||||
.de Ds
|
||||
|
|
@ -218,7 +217,7 @@ The
|
|||
.ZN XWMHints
|
||||
structure contains:
|
||||
.LP
|
||||
/\(** Window manager hints mask bits */
|
||||
/\&* Window manager hints mask bits */
|
||||
.TS
|
||||
lw(.5i) lw(2.5i) lw(2.5i).
|
||||
T{
|
||||
|
|
@ -293,19 +292,19 @@ T}
|
|||
.Ds 0
|
||||
.TA .5i 2.5i
|
||||
.ta .5i 2.5i
|
||||
/\(** Values */
|
||||
/\&* Values */
|
||||
|
||||
typedef struct {
|
||||
long flags; /\(** marks which fields in this structure are defined */
|
||||
Bool input; /\(** does this application rely on the window manager to
|
||||
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 */
|
||||
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
|
||||
|
|
@ -359,7 +358,7 @@ T} T{
|
|||
T} T{
|
||||
1
|
||||
T} T{
|
||||
/\(** most applications start this way */
|
||||
/\&* most applications start this way */
|
||||
T}
|
||||
T{
|
||||
\&#define
|
||||
|
|
@ -368,7 +367,7 @@ T} T{
|
|||
T} T{
|
||||
3
|
||||
T} T{
|
||||
/\(** application wants to start as an icon */
|
||||
/\&* application wants to start as an icon */
|
||||
T}
|
||||
.TE
|
||||
The icon_mask specifies which pixels of the icon_pixmap should be used as the
|
||||
|
|
|
|||
|
|
@ -153,9 +153,9 @@ have the following common members:
|
|||
.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 */
|
||||
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
|
||||
|
|
@ -186,7 +186,7 @@ structure is a union of the individual structures declared for each event type:
|
|||
.TA .5i 3i
|
||||
.ta .5i 3i
|
||||
typedef union _XEvent {
|
||||
int type; /\(** must not be changed */
|
||||
int type; /\&* must not be changed */
|
||||
XAnyEvent xany;
|
||||
XKeyEvent xkey;
|
||||
XButtonEvent xbutton;
|
||||
|
|
|
|||
|
|
@ -158,19 +158,19 @@ events contain:
|
|||
.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;
|
||||
|
|
@ -180,19 +180,19 @@ typedef XButtonEvent XButtonReleasedEvent;
|
|||
.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;
|
||||
|
|
@ -202,19 +202,19 @@ typedef XKeyEvent XKeyReleasedEvent;
|
|||
.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
|
||||
|
|
|
|||
|
|
@ -149,9 +149,9 @@ XChangeKeyboardControl, XGetKeyboardControl, XAutoRepeatOn, XAutoRepeatOff, XBel
|
|||
.SH SYNTAX
|
||||
.HP
|
||||
int XChangeKeyboardControl\^(\^Display *\fIdisplay\fP, unsigned long
|
||||
\fIvalue_mask\fP\^, XKeyBoardControl *\fIvalues\fP\^);
|
||||
\fIvalue_mask\fP\^, XKeyboardControl *\fIvalues\fP\^);
|
||||
.HP
|
||||
int XGetKeyboardControl\^(\^Display *\fIdisplay\fP, XKeyBoardState
|
||||
int XGetKeyboardControl\^(\^Display *\fIdisplay\fP, XKeyboardState
|
||||
*\fIvalues_return\fP\^);
|
||||
.HP
|
||||
int XAutoRepeatOn\^(\^Display *\fIdisplay\fP\^);
|
||||
|
|
@ -251,7 +251,7 @@ The
|
|||
structure contains:
|
||||
.LP
|
||||
.LP
|
||||
/\(** Mask bits for ChangeKeyboardControl */
|
||||
/\&* Mask bits for ChangeKeyboardControl */
|
||||
.TS
|
||||
lw(.5i) lw(2.5i) lw(.8i).
|
||||
T{
|
||||
|
|
@ -315,7 +315,7 @@ T}
|
|||
.Ds 0
|
||||
.TA .5i 2.5i
|
||||
.ta .5i 2.5i
|
||||
/\(** Values */
|
||||
/\&* Values */
|
||||
|
||||
typedef struct {
|
||||
int key_click_percent;
|
||||
|
|
@ -323,9 +323,9 @@ typedef struct {
|
|||
int bell_pitch;
|
||||
int bell_duration;
|
||||
int led;
|
||||
int led_mode; /\(** LedModeOn, LedModeOff */
|
||||
int led_mode; /\&* LedModeOn, LedModeOff */
|
||||
int key;
|
||||
int auto_repeat_mode; /\(** AutoRepeatModeOff, AutoRepeatModeOn,
|
||||
int auto_repeat_mode; /\&* AutoRepeatModeOff, AutoRepeatModeOn,
|
||||
AutoRepeatModeDefault */
|
||||
} XKeyboardControl;
|
||||
.De
|
||||
|
|
|
|||
|
|
@ -428,8 +428,8 @@ structure contains:
|
|||
.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
|
||||
|
|
|
|||
|
|
@ -153,13 +153,13 @@ events contains:
|
|||
.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 */
|
||||
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 place; /\&* PlaceOnTop, PlaceOnBottom */
|
||||
} XCirculateEvent;
|
||||
.De
|
||||
.LP
|
||||
|
|
|
|||
|
|
@ -153,13 +153,13 @@ events contains:
|
|||
.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 */
|
||||
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 place; /\&* PlaceOnTop, PlaceOnBottom */
|
||||
} XCirculateRequestEvent;
|
||||
.De
|
||||
.LP
|
||||
|
|
|
|||
|
|
@ -153,10 +153,10 @@ events contains:
|
|||
.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 */
|
||||
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;
|
||||
|
|
|
|||
|
|
@ -153,14 +153,14 @@ events contains:
|
|||
.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 */
|
||||
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 */
|
||||
Colormap colormap; /\&* colormap or None */
|
||||
Bool new;
|
||||
int state; /\(** ColormapInstalled, ColormapUninstalled */
|
||||
int state; /\&* ColormapInstalled, ColormapUninstalled */
|
||||
} XColormapEvent;
|
||||
.De
|
||||
.LP
|
||||
|
|
|
|||
|
|
@ -153,10 +153,10 @@ events contains:
|
|||
.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 */
|
||||
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;
|
||||
|
|
|
|||
|
|
@ -153,17 +153,17 @@ events contains:
|
|||
.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 */
|
||||
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 */
|
||||
int detail; /\&* Above, Below, TopIf, BottomIf, Opposite */
|
||||
unsigned long value_mask;
|
||||
} XConfigureRequestEvent;
|
||||
.De
|
||||
|
|
|
|||
|
|
@ -334,7 +334,7 @@ The
|
|||
structure contains:
|
||||
.LP
|
||||
.LP
|
||||
/\(** Configure window value mask bits */
|
||||
/\&* Configure window value mask bits */
|
||||
.TS
|
||||
lw(.5i) lw(2.5i) lw(.8i).
|
||||
T{
|
||||
|
|
@ -391,7 +391,7 @@ T}
|
|||
.Ds 0
|
||||
.TA .5i 3i
|
||||
.ta .5i 3i
|
||||
/\(** Values */
|
||||
/\&* Values */
|
||||
|
||||
typedef struct {
|
||||
int x, y;
|
||||
|
|
|
|||
|
|
@ -313,9 +313,9 @@ structure contains:
|
|||
.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 */
|
||||
unsigned long pixel; /\&* pixel value */
|
||||
unsigned short red, green, blue; /\&* rgb values */
|
||||
char flags; /\&* DoRed, DoGreen, DoBlue */
|
||||
char pad;
|
||||
} XColor;
|
||||
.De
|
||||
|
|
|
|||
|
|
@ -311,7 +311,7 @@ The
|
|||
structure contains:
|
||||
.LP
|
||||
.LP
|
||||
/\(** GC attribute value mask bits */
|
||||
/\&* GC attribute value mask bits */
|
||||
.TS
|
||||
lw(.5i) lw(2.5i) lw(.75i).
|
||||
T{
|
||||
|
|
@ -480,31 +480,31 @@ T}
|
|||
.Ds 0
|
||||
.TA .5i 3i
|
||||
.ta .5i 3i
|
||||
/\(** Values */
|
||||
/\&* 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 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 */
|
||||
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 */
|
||||
Pixmap clip_mask; /\&* bitmap clipping; other calls for rects */
|
||||
int dash_offset; /\&* patterned/dashed line information */
|
||||
char dashes;
|
||||
} XGCValues;
|
||||
.De
|
||||
|
|
|
|||
|
|
@ -319,7 +319,7 @@ The
|
|||
structure contains:
|
||||
.LP
|
||||
.LP
|
||||
/\(** Window attribute value mask bits */
|
||||
/\&* Window attribute value mask bits */
|
||||
.TS
|
||||
lw(.5i) lw(2.5i) lw(.8i).
|
||||
T{
|
||||
|
|
@ -432,24 +432,24 @@ T}
|
|||
.Ds 0
|
||||
.TA .5i 3i
|
||||
.ta .5i 3i
|
||||
/\(** Values */
|
||||
/\&* 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
|
||||
|
|
|
|||
|
|
@ -153,16 +153,16 @@ events contains:
|
|||
.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
|
||||
|
|
|
|||
|
|
@ -155,25 +155,25 @@ events contains:
|
|||
.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 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 */
|
||||
Bool same_screen; /\&* same screen flag */
|
||||
Bool focus; /\&* boolean focus */
|
||||
unsigned int state; /\&* key or button mask */
|
||||
} XCrossingEvent;
|
||||
typedef XCrossingEvent XEnterWindowEvent;
|
||||
typedef XCrossingEvent XLeaveWindowEvent;
|
||||
|
|
|
|||
|
|
@ -153,10 +153,10 @@ events contains:
|
|||
.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 */
|
||||
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;
|
||||
|
|
|
|||
|
|
@ -142,6 +142,16 @@
|
|||
.el .sp 10p
|
||||
..
|
||||
.ny0
|
||||
.de EX
|
||||
.sp
|
||||
.nf
|
||||
.ft CW
|
||||
..
|
||||
.de EE
|
||||
.ft R
|
||||
.fi
|
||||
.sp
|
||||
..
|
||||
'\" e
|
||||
.TH XDrawArc __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
|
||||
.SH NAME
|
||||
|
|
@ -240,13 +250,12 @@ than in degrees scaled by 64) in the range % [ 0 , ~2 pi ]% and where atan
|
|||
returns a value in the range % [ - pi over 2 , ~pi over 2 ] %
|
||||
and adjust is:
|
||||
.LP
|
||||
.Ds
|
||||
.TA 1i 2i
|
||||
.ta 1i 2i
|
||||
.TS
|
||||
l l.
|
||||
%0% for normal-angle in the range % [ 0 , ~pi over 2 ]%
|
||||
%pi% for normal-angle in the range % [ pi over 2 , ~{3 pi} over 2 ]%
|
||||
%2 pi% for normal-angle in the range % [ {3 pi} over 2 , ~2 pi ]%
|
||||
.De
|
||||
.TE
|
||||
.LP
|
||||
For any given arc,
|
||||
.ZN XDrawArc
|
||||
|
|
@ -295,15 +304,13 @@ The
|
|||
.ZN XArc
|
||||
structure contains:
|
||||
.LP
|
||||
.Ds 0
|
||||
.TA .5i 3i
|
||||
.ta .5i 3i
|
||||
.EX
|
||||
typedef struct {
|
||||
short x, y;
|
||||
unsigned short width, height;
|
||||
short angle1, angle2; /\(** Degrees * 64 */
|
||||
short angle1, angle2; /\&* Degrees * 64 */
|
||||
} XArc;
|
||||
.De
|
||||
.EE
|
||||
.LP
|
||||
All x and y members are signed integers.
|
||||
The width and height members are 16-bit unsigned integers.
|
||||
|
|
|
|||
|
|
@ -228,10 +228,10 @@ structures contain:
|
|||
.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
|
||||
|
|
@ -239,10 +239,10 @@ typedef struct {
|
|||
.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
|
||||
|
|
|
|||
|
|
@ -154,12 +154,12 @@ structure contains:
|
|||
.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 */
|
||||
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
|
||||
|
|
|
|||
|
|
@ -153,14 +153,14 @@ events contains:
|
|||
.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 */
|
||||
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 count; /\&* if nonzero, at least this many more */
|
||||
} XExposeEvent;
|
||||
.De
|
||||
.LP
|
||||
|
|
|
|||
|
|
@ -155,14 +155,14 @@ events contains:
|
|||
.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 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
|
||||
|
|
|
|||
|
|
@ -153,8 +153,8 @@ structure contains:
|
|||
.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
|
||||
|
|
|
|||
|
|
@ -209,7 +209,7 @@ The
|
|||
structure contains:
|
||||
.LP
|
||||
.LP
|
||||
/\(** Visual information mask bits */
|
||||
/\&* Visual information mask bits */
|
||||
.TS
|
||||
lw(.5i) lw(2.5i) lw(.8i).
|
||||
T{
|
||||
|
|
@ -294,7 +294,7 @@ T}
|
|||
.Ds 0
|
||||
.TA .5i 3i
|
||||
.ta .5i 3i
|
||||
/\(** Values */
|
||||
/\&* Values */
|
||||
|
||||
typedef struct {
|
||||
Visual *visual;
|
||||
|
|
|
|||
|
|
@ -222,27 +222,27 @@ structure contains:
|
|||
.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
|
||||
|
|
|
|||
|
|
@ -155,16 +155,16 @@ events contain:
|
|||
.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 */
|
||||
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 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
|
||||
|
|
@ -172,13 +172,13 @@ typedef struct {
|
|||
.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 */
|
||||
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 major_code; /\&* core is CopyArea or CopyPlane */
|
||||
int minor_code; /\&* not defined in the core */
|
||||
} XNoExposeEvent;
|
||||
.De
|
||||
.LP
|
||||
|
|
|
|||
|
|
@ -153,10 +153,10 @@ events contains:
|
|||
.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 */
|
||||
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;
|
||||
|
|
|
|||
|
|
@ -221,7 +221,6 @@ has first called
|
|||
.ZN XLockDisplay .
|
||||
.LP
|
||||
The predicate procedure and its associated arguments are:
|
||||
.sM
|
||||
.HP
|
||||
Bool (\^*\fIpredicate\fP\^)\^(\^Display *\fIdisplay\fP, XEvent *\fIevent\fP, XPointer \fIarg\fP\^)
|
||||
.IP \fIdisplay\fP 1i
|
||||
|
|
@ -238,7 +237,6 @@ or
|
|||
.ZN XPeekIfEvent
|
||||
function.
|
||||
.LP
|
||||
.eM
|
||||
The predicate procedure is called once for each
|
||||
event in the queue until it finds a match.
|
||||
After finding a match, the predicate procedure must return
|
||||
|
|
|
|||
|
|
@ -152,12 +152,12 @@ events contains:
|
|||
.Ds 0
|
||||
.TA .5i 3i
|
||||
.ta .5i 3i
|
||||
/\(** generated on EnterWindow and FocusIn when KeymapState selected */
|
||||
/\&* 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 */
|
||||
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;
|
||||
|
|
|
|||
|
|
@ -141,6 +141,16 @@
|
|||
.el .sp 10p
|
||||
..
|
||||
.ny0
|
||||
.de EX
|
||||
.sp
|
||||
.nf
|
||||
.ft CW
|
||||
..
|
||||
.de EE
|
||||
.ft R
|
||||
.fi
|
||||
.sp
|
||||
..
|
||||
.TH XLoadFont __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
|
||||
.SH NAME
|
||||
XLoadFont, XQueryFont, XLoadQueryFont, XFreeFont, XGetFontProperty, XUnloadFont, XCharStruct, XFontProp, XChar2b, XFontStruct \- load or unload fonts and font metric structures
|
||||
|
|
@ -309,62 +319,54 @@ and
|
|||
structures contain:
|
||||
.LP
|
||||
.IN "XCharStruct" "" "@DEF@"
|
||||
.Ds 0
|
||||
.TA .5i 3i
|
||||
.ta .5i 3i
|
||||
.EX
|
||||
typedef struct {
|
||||
short lbearing; /\(** origin to left edge of raster */
|
||||
short rbearing; /\(** origin to right edge of raster */
|
||||
short width; /\(** advance to next char's origin */
|
||||
short ascent; /\(** baseline to top edge of raster */
|
||||
short descent; /\(** baseline to bottom edge of raster */
|
||||
unsigned short attributes; /\(** per char flags (not predefined) */
|
||||
short lbearing; /\&* origin to left edge of raster */
|
||||
short rbearing; /\&* origin to right edge of raster */
|
||||
short width; /\&* advance to next char's origin */
|
||||
short ascent; /\&* baseline to top edge of raster */
|
||||
short descent; /\&* baseline to bottom edge of raster */
|
||||
unsigned short attributes; /\&* per char flags (not predefined) */
|
||||
} XCharStruct;
|
||||
.De
|
||||
.EE
|
||||
.LP
|
||||
.IN "XFontProp" "" "@DEF@"
|
||||
.Ds 0
|
||||
.TA .5i 1i 3i
|
||||
.ta .5i 1i 3i
|
||||
.EX
|
||||
typedef struct {
|
||||
Atom name;
|
||||
unsigned long card32;
|
||||
} XFontProp;
|
||||
.De
|
||||
.EE
|
||||
.LP
|
||||
.IN "XChar2b" "" "@DEF@"
|
||||
.Ds 0
|
||||
.TA .5i 3i
|
||||
.ta .5i 3i
|
||||
typedef struct { /\(** normal 16 bit characters are two bytes */
|
||||
.EX
|
||||
typedef struct { /\&* normal 16 bit characters are two bytes */
|
||||
unsigned char byte1;
|
||||
unsigned char byte2;
|
||||
} XChar2b;
|
||||
.De
|
||||
.EE
|
||||
.LP
|
||||
.IN "XFontStruct" "" "@DEF@"
|
||||
.Ds 0
|
||||
.TA .5i 3i
|
||||
.ta .5i 3i
|
||||
.EX
|
||||
typedef struct {
|
||||
XExtData *ext_data; /\(** hook for extension to hang data */
|
||||
Font fid; /\(** Font id for this font */
|
||||
unsigned direction; /\(** hint about the direction font is painted */
|
||||
unsigned min_char_or_byte2; /\(** first character */
|
||||
unsigned max_char_or_byte2; /\(** last character */
|
||||
unsigned min_byte1; /\(** first row that exists */
|
||||
unsigned max_byte1; /\(** last row that exists */
|
||||
Bool all_chars_exist; /\(** flag if all characters have nonzero size */
|
||||
unsigned default_char; /\(** char to print for undefined character */
|
||||
int n_properties; /\(** how many properties there are */
|
||||
XFontProp *properties; /\(** pointer to array of additional properties */
|
||||
XCharStruct min_bounds; /\(** minimum bounds over all existing char */
|
||||
XCharStruct max_bounds; /\(** maximum bounds over all existing char */
|
||||
XCharStruct *per_char; /\(** first_char to last_char information */
|
||||
int ascent; /\(** logical extent above baseline for spacing */
|
||||
int descent; /\(** logical decent below baseline for spacing */
|
||||
XExtData *ext_data; /\&* hook for extension to hang data */
|
||||
Font fid; /\&* Font id for this font */
|
||||
unsigned direction; /\&* hint about the direction font is painted */
|
||||
unsigned min_char_or_byte2; /\&* first character */
|
||||
unsigned max_char_or_byte2; /\&* last character */
|
||||
unsigned min_byte1; /\&* first row that exists */
|
||||
unsigned max_byte1; /\&* last row that exists */
|
||||
Bool all_chars_exist; /\&* flag if all characters have nonzero size */
|
||||
unsigned default_char; /\&* char to print for undefined character */
|
||||
int n_properties; /\&* how many properties there are */
|
||||
XFontProp *properties; /\&* pointer to array of additional properties */
|
||||
XCharStruct min_bounds; /\&* minimum bounds over all existing char */
|
||||
XCharStruct max_bounds; /\&* maximum bounds over all existing char */
|
||||
XCharStruct *per_char; /\&* first_char to last_char information */
|
||||
int ascent; /\&* logical extent above baseline for spacing */
|
||||
int descent; /\&* logical decent below baseline for spacing */
|
||||
} XFontStruct;
|
||||
.De
|
||||
.EE
|
||||
.LP
|
||||
X supports single byte/character, two bytes/character matrix,
|
||||
and 16-bit character text operations.
|
||||
|
|
@ -416,19 +418,16 @@ min_char_or_byte2 and max_char_or_byte2 are less than 256,
|
|||
and the 2-byte character index values corresponding to the
|
||||
per_char array element N (counting from 0) are:
|
||||
.IP
|
||||
.nf
|
||||
.EX
|
||||
byte1 = N/D + min_byte1
|
||||
.br
|
||||
byte2 = N\\D + min_char_or_byte2
|
||||
.IP
|
||||
.fi
|
||||
.EE
|
||||
where:
|
||||
.IP
|
||||
.nf
|
||||
.EX
|
||||
D = max_char_or_byte2 \- min_char_or_byte2 + 1
|
||||
/ = integer division
|
||||
\\ = integer modulus
|
||||
.fi
|
||||
\e\e = integer modulus
|
||||
.EE
|
||||
.IP \(bu 5
|
||||
If the per_char pointer is NULL,
|
||||
all glyphs between the first and last character indexes
|
||||
|
|
|
|||
|
|
@ -153,13 +153,13 @@ events contains:
|
|||
.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 */
|
||||
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... */
|
||||
Bool override_redirect; /\&* boolean, is override set... */
|
||||
} XMapEvent;
|
||||
.De
|
||||
.LP
|
||||
|
|
@ -208,15 +208,15 @@ events is:
|
|||
.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,
|
||||
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 first_keycode; /\&* first keycode */
|
||||
int count; /\&* defines range of change w. first_keycode*/
|
||||
} XMappingEvent;
|
||||
.De
|
||||
.LP
|
||||
|
|
|
|||
|
|
@ -153,10 +153,10 @@ events contains:
|
|||
.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 */
|
||||
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;
|
||||
|
|
|
|||
|
|
@ -153,14 +153,14 @@ events contains:
|
|||
.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 */
|
||||
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 state; /\&* PropertyNewValue or PropertyDelete */
|
||||
} XPropertyEvent;
|
||||
.De
|
||||
.LP
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
'\" t
|
||||
.\" Copyright \(co 1985, 1986, 1987, 1988, 1989, 1990, 1991, 1994, 1996 X Consortium
|
||||
.\"
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining
|
||||
|
|
@ -276,16 +277,13 @@ supported, but its continued use is not encouraged.
|
|||
The syntax is an initial sharp sign character followed by
|
||||
a numeric specification, in one of the following formats:
|
||||
.LP
|
||||
.\" Start marker code here
|
||||
.Ds 0
|
||||
.TA 2i
|
||||
.ta 2i
|
||||
.TS
|
||||
l l.
|
||||
\&#RGB (4 bits each)
|
||||
\&#RRGGBB (8 bits each)
|
||||
\&#RRRGGGBBB (12 bits each)
|
||||
\&#RRRRGGGGBBBB (16 bits each)
|
||||
.De
|
||||
.\" End marker code here
|
||||
.TE
|
||||
.LP
|
||||
The R, G, and B represent single hexadecimal digits.
|
||||
When fewer than 16 bits each are specified,
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
.\" of the information in this document. It is provided \`\`as-is'' without
|
||||
.\" express or implied warranty.
|
||||
.\"
|
||||
.dS xL Programming with Xlib
|
||||
.ds xL Programming with Xlib
|
||||
.TH XQueryExtension __libmansuffix__ __xorgversion__ "X FUNCTIONS"
|
||||
.SH NAME
|
||||
XQueryExtension, XListExtensions, XFreeExtensionList \- list available extensions
|
||||
|
|
@ -25,7 +25,6 @@ Bool XQueryExtension(\^\fIdisplay, \fIname\fP, \fImajor_opcode_return\fP, \fIfir
|
|||
char **XListExtensions(\^\fIdisplay\fP, \fInextensions_return\fP\^)
|
||||
.HP
|
||||
XFreeExtensionList(\^\fIlist\fP\^)
|
||||
.FN
|
||||
.SH ARGUMENTS
|
||||
.IP \fIdisplay\fP 1i
|
||||
Specifies the connection to the X server.
|
||||
|
|
|
|||
|
|
@ -153,10 +153,10 @@ events contains:
|
|||
.TA .5i 3i
|
||||
.ta .5i 3i
|
||||
typedef struct {
|
||||
int type; /\(** ReparentNotify */
|
||||
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 */
|
||||
int type; /\&* ReparentNotify */
|
||||
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;
|
||||
Window parent;
|
||||
|
|
|
|||
|
|
@ -153,10 +153,10 @@ events contains:
|
|||
.TA .5i 3i
|
||||
.ta .5i 3i
|
||||
typedef struct {
|
||||
int type; /\(** ResizeRequest */
|
||||
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 */
|
||||
int type; /\&* ResizeRequest */
|
||||
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 width, height;
|
||||
} XResizeRequestEvent;
|
||||
|
|
|
|||
|
|
@ -153,10 +153,10 @@ events contains:
|
|||
.TA .5i 3i
|
||||
.ta .5i 3i
|
||||
typedef struct {
|
||||
int type; /\(** SelectionClear */
|
||||
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 */
|
||||
int type; /\&* SelectionClear */
|
||||
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 selection;
|
||||
Time time;
|
||||
|
|
|
|||
|
|
@ -153,14 +153,14 @@ events contains:
|
|||
.TA .5i 3i
|
||||
.ta .5i 3i
|
||||
typedef struct {
|
||||
int type; /\(** SelectionNotify */
|
||||
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 */
|
||||
int type; /\&* SelectionNotify */
|
||||
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 requestor;
|
||||
Atom selection;
|
||||
Atom target;
|
||||
Atom property; /\(** atom or None */
|
||||
Atom property; /\&* atom or None */
|
||||
Time time;
|
||||
} XSelectionEvent;
|
||||
.De
|
||||
|
|
|
|||
|
|
@ -153,10 +153,10 @@ events contains:
|
|||
.TA .5i 3i
|
||||
.ta .5i 3i
|
||||
typedef struct {
|
||||
int type; /\(** SelectionRequest */
|
||||
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 */
|
||||
int type; /\&* SelectionRequest */
|
||||
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 owner;
|
||||
Window requestor;
|
||||
Atom selection;
|
||||
|
|
|
|||
|
|
@ -213,6 +213,8 @@ If the timeout value is nonzero,
|
|||
.ZN XSetScreenSaver
|
||||
enables the screen saver.
|
||||
An interval of 0 disables the random-pattern motion.
|
||||
Both values are limited to a 16-bit signed integer range by the wire protocol,
|
||||
despite the C prototype.
|
||||
If no input from devices (keyboard, mouse, and so on) is generated
|
||||
for the specified number of timeout seconds once the screen saver is enabled,
|
||||
the screen saver is activated.
|
||||
|
|
|
|||
|
|
@ -230,10 +230,10 @@ structure contains:
|
|||
.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
|
||||
.SH "SEE ALSO"
|
||||
|
|
|
|||
|
|
@ -153,10 +153,10 @@ events contains:
|
|||
.TA .5i 3i
|
||||
.ta .5i 3i
|
||||
typedef struct {
|
||||
int type; /\(** UnmapNotify */
|
||||
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 */
|
||||
int type; /\&* UnmapNotify */
|
||||
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 from_configure;
|
||||
|
|
|
|||
|
|
@ -153,10 +153,10 @@ events contains:
|
|||
.TA .5i 3i
|
||||
.ta .5i 3i
|
||||
typedef struct {
|
||||
int type; /\(** VisibilityNotify */
|
||||
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 */
|
||||
int type; /\&* VisibilityNotify */
|
||||
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 state;
|
||||
} XVisibilityEvent;
|
||||
|
|
|
|||
|
|
@ -140,6 +140,16 @@
|
|||
.el .sp 10p
|
||||
..
|
||||
.ny0
|
||||
.de EX
|
||||
.sp
|
||||
.nf
|
||||
.ft CW
|
||||
..
|
||||
.de EE
|
||||
.ft R
|
||||
.fi
|
||||
.sp
|
||||
..
|
||||
.TH XcmsColor __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
|
||||
.SH NAME
|
||||
XcmsColor, XcmsRGB, XcmsRGBi, XcmsCIEXYZ, XcmsCIEuvY, XcmsCIExyY, XcmsCIELab, XcmsCIELuv, XcmsTekHVC, XcmsPad \- Xcms color struture
|
||||
|
|
@ -148,10 +158,8 @@ The structure for
|
|||
.ZN XcmsColor
|
||||
contains:
|
||||
.LP
|
||||
.Ds 0
|
||||
.TA .5i 1i 2.5i
|
||||
.ta .5i 1i 2.5i
|
||||
typedef unsigned long XcmsColorFormat; /\(** Color Specification Format */
|
||||
.EX
|
||||
typedef unsigned long XcmsColorFormat; /\&* Color Specification Format */
|
||||
|
||||
typedef struct {
|
||||
union {
|
||||
|
|
@ -167,101 +175,83 @@ typedef struct {
|
|||
} spec;
|
||||
unsigned long pixel;
|
||||
XcmsColorFormat format;
|
||||
} XcmsColor; /\(** Xcms Color Structure */
|
||||
.De
|
||||
} XcmsColor; /\&* Xcms Color Structure */
|
||||
.EE
|
||||
.LP
|
||||
.Ds 0
|
||||
.TA .5i 2.5i
|
||||
.ta .5i 2.5i
|
||||
.EX
|
||||
typedef double XcmsFloat;
|
||||
|
||||
typedef struct {
|
||||
unsigned short red; /\(** 0x0000 to 0xffff */
|
||||
unsigned short green; /\(** 0x0000 to 0xffff */
|
||||
unsigned short blue; /\(** 0x0000 to 0xffff */
|
||||
} XcmsRGB; /\(** RGB Device */
|
||||
.De
|
||||
unsigned short red; /\&* 0x0000 to 0xffff */
|
||||
unsigned short green; /\&* 0x0000 to 0xffff */
|
||||
unsigned short blue; /\&* 0x0000 to 0xffff */
|
||||
} XcmsRGB; /\&* RGB Device */
|
||||
.EE
|
||||
.LP
|
||||
.Ds 0
|
||||
.TA .5i 2.5i
|
||||
.ta .5i 2.5i
|
||||
.EX
|
||||
typedef struct {
|
||||
XcmsFloat red; /\(** 0.0 to 1.0 */
|
||||
XcmsFloat green; /\(** 0.0 to 1.0 */
|
||||
XcmsFloat blue; /\(** 0.0 to 1.0 */
|
||||
} XcmsRGBi; /\(** RGB Intensity */
|
||||
.De
|
||||
XcmsFloat red; /\&* 0.0 to 1.0 */
|
||||
XcmsFloat green; /\&* 0.0 to 1.0 */
|
||||
XcmsFloat blue; /\&* 0.0 to 1.0 */
|
||||
} XcmsRGBi; /\&* RGB Intensity */
|
||||
.EE
|
||||
.LP
|
||||
.Ds 0
|
||||
.TA .5i 2.5i
|
||||
.ta .5i 2.5i
|
||||
.EX
|
||||
typedef struct {
|
||||
XcmsFloat X;
|
||||
XcmsFloat Y; /\(** 0.0 to 1.0 */
|
||||
XcmsFloat Y; /\&* 0.0 to 1.0 */
|
||||
XcmsFloat Z;
|
||||
} XcmsCIEXYZ; /\(** CIE XYZ */
|
||||
.De
|
||||
} XcmsCIEXYZ; /\&* CIE XYZ */
|
||||
.EE
|
||||
.LP
|
||||
.Ds 0
|
||||
.TA .5i 2.5i
|
||||
.ta .5i 2.5i
|
||||
.EX
|
||||
typedef struct {
|
||||
XcmsFloat u_prime; /\(** 0.0 to ~0.6 */
|
||||
XcmsFloat v_prime; /\(** 0.0 to ~0.6 */
|
||||
XcmsFloat Y; /\(** 0.0 to 1.0 */
|
||||
} XcmsCIEuvY; /\(** CIE u'v'Y */
|
||||
.De
|
||||
XcmsFloat u_prime; /\&* 0.0 to ~0.6 */
|
||||
XcmsFloat v_prime; /\&* 0.0 to ~0.6 */
|
||||
XcmsFloat Y; /\&* 0.0 to 1.0 */
|
||||
} XcmsCIEuvY; /\&* CIE u'v'Y */
|
||||
.EE
|
||||
.LP
|
||||
.Ds 0
|
||||
.TA .5i 2.5i
|
||||
.ta .5i 2.5i
|
||||
.EX
|
||||
typedef struct {
|
||||
XcmsFloat x; /\(** 0.0 to ~.75 */
|
||||
XcmsFloat y; /\(** 0.0 to ~.85 */
|
||||
XcmsFloat Y; /\(** 0.0 to 1.0 */
|
||||
} XcmsCIExyY; /\(** CIE xyY */
|
||||
.De
|
||||
XcmsFloat x; /\&* 0.0 to ~.75 */
|
||||
XcmsFloat y; /\&* 0.0 to ~.85 */
|
||||
XcmsFloat Y; /\&* 0.0 to 1.0 */
|
||||
} XcmsCIExyY; /\&* CIE xyY */
|
||||
.EE
|
||||
.LP
|
||||
.Ds 0
|
||||
.TA .5i 2.5i
|
||||
.ta .5i 2.5i
|
||||
.EX
|
||||
typedef struct {
|
||||
XcmsFloat L_star; /\(** 0.0 to 100.0 */
|
||||
XcmsFloat L_star; /\&* 0.0 to 100.0 */
|
||||
XcmsFloat a_star;
|
||||
XcmsFloat b_star;
|
||||
} XcmsCIELab; /\(** CIE L*a*b* */
|
||||
.De
|
||||
} XcmsCIELab; /\&* CIE L*a*b* */
|
||||
.EE
|
||||
.LP
|
||||
.Ds 0
|
||||
.TA .5i 2.5i
|
||||
.ta .5i 2.5i
|
||||
.EX
|
||||
typedef struct {
|
||||
XcmsFloat L_star; /\(** 0.0 to 100.0 */
|
||||
XcmsFloat L_star; /\&* 0.0 to 100.0 */
|
||||
XcmsFloat u_star;
|
||||
XcmsFloat v_star;
|
||||
} XcmsCIELuv; /\(** CIE L*u*v* */
|
||||
.De
|
||||
} XcmsCIELuv; /\&* CIE L*u*v* */
|
||||
.EE
|
||||
.LP
|
||||
.Ds 0
|
||||
.TA .5i 2.5i
|
||||
.ta .5i 2.5i
|
||||
.EX
|
||||
typedef struct {
|
||||
XcmsFloat H; /\(** 0.0 to 360.0 */
|
||||
XcmsFloat V; /\(** 0.0 to 100.0 */
|
||||
XcmsFloat C; /\(** 0.0 to 100.0 */
|
||||
} XcmsTekHVC; /\(** TekHVC */
|
||||
.De
|
||||
XcmsFloat H; /\&* 0.0 to 360.0 */
|
||||
XcmsFloat V; /\&* 0.0 to 100.0 */
|
||||
XcmsFloat C; /\&* 0.0 to 100.0 */
|
||||
} XcmsTekHVC; /\&* TekHVC */
|
||||
.EE
|
||||
.LP
|
||||
.Ds 0
|
||||
.TA .5i 2.5i
|
||||
.ta .5i 2.5i
|
||||
.EX
|
||||
typedef struct {
|
||||
XcmsFloat pad0;
|
||||
XcmsFloat pad1;
|
||||
XcmsFloat pad2;
|
||||
XcmsFloat pad3;
|
||||
} XcmsPad; /\(** four doubles */
|
||||
.De
|
||||
} XcmsPad; /\&* four doubles */
|
||||
.EE
|
||||
.SH DESCRIPTION
|
||||
The
|
||||
.ZN XcmsColor
|
||||
|
|
@ -271,5 +261,5 @@ each supporting color specification encoding for a particular color space.
|
|||
XcmsAllocColor(3X11),
|
||||
XcmsStoreColor(3X11),
|
||||
XcmsConvertColors(3X11),
|
||||
.br
|
||||
.LP
|
||||
\fI\*(xL\fP
|
||||
|
|
|
|||
|
|
@ -228,10 +228,10 @@ structure contains:
|
|||
.TA .5i 2.5i
|
||||
.ta .5i 2.5i
|
||||
typedef struct {
|
||||
char *chars; /\(** pointer to string */
|
||||
int nchars; /\(** number of bytes */
|
||||
int delta; /\(** pixel delta between strings */
|
||||
XFontSet font_set; /\(** fonts, None means don't change */
|
||||
char *chars; /\&* pointer to string */
|
||||
int nchars; /\&* number of bytes */
|
||||
int delta; /\&* pixel delta between strings */
|
||||
XFontSet font_set; /\&* fonts, None means don't change */
|
||||
} XmbTextItem;
|
||||
.De
|
||||
The
|
||||
|
|
@ -241,10 +241,10 @@ structure contains:
|
|||
.TA .5i 2.5i
|
||||
.ta .5i 2.5i
|
||||
typedef struct {
|
||||
wchar_t *chars; /\(** pointer to wide char string */
|
||||
int nchars; /\(** number of wide characters */
|
||||
int delta; /\(** pixel delta between strings */
|
||||
XFontSet font_set; /\(** fonts, None means don't change */
|
||||
wchar_t *chars; /\&* pointer to wide char string */
|
||||
int nchars; /\&* number of wide characters */
|
||||
int delta; /\&* pixel delta between strings */
|
||||
XFontSet font_set; /\&* fonts, None means don't change */
|
||||
} XwcTextItem;
|
||||
.De
|
||||
.SH "SEE ALSO"
|
||||
|
|
|
|||
|
|
@ -408,10 +408,10 @@ structure contains:
|
|||
.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
|
||||
|
|
@ -447,11 +447,11 @@ T}
|
|||
.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"
|
||||
|
|
|
|||
|
|
@ -140,6 +140,16 @@
|
|||
.el .sp 10p
|
||||
..
|
||||
.ny0
|
||||
.de EX
|
||||
.sp
|
||||
.nf
|
||||
.ft CW
|
||||
..
|
||||
.de EE
|
||||
.ft R
|
||||
.fi
|
||||
.sp
|
||||
..
|
||||
.TH XrmGetFileDatabase __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
|
||||
.SH NAME
|
||||
XrmGetFileDatabase, XrmPutFileDatabase, XrmGetStringDatabase, XrmLocaleOfDatabase, XrmGetDatabase, XrmSetDatabase, XrmDestroyDatabase \- retrieve and store resource databases
|
||||
|
|
@ -247,9 +257,7 @@ terminated by newline characters or the end of the file.
|
|||
The syntax of an individual resource line is:
|
||||
.LP
|
||||
.\" Start marker code here
|
||||
.Ds 0
|
||||
.TA 1.5i 1.75i
|
||||
.ta 1.5i 1.75i
|
||||
.EX
|
||||
ResourceLine = Comment | IncludeFile | ResourceSpec | <empty line>
|
||||
Comment = "!" {<any character except null or newline>}
|
||||
IncludeFile = "#" WhiteSpace "include" WhiteSpace FileName WhiteSpace
|
||||
|
|
@ -262,8 +270,7 @@ Component = "?" | ComponentName
|
|||
ComponentName = NameChar {NameChar}
|
||||
NameChar = "a"\-"z" | "A"\-"Z" | "0"\-"9" | "_" | "-"
|
||||
Value = {<any character except null or unescaped newline>}
|
||||
.De
|
||||
.\" End marker code here
|
||||
.EE
|
||||
.LP
|
||||
Elements separated by vertical bar (|) are alternatives.
|
||||
Curly braces ({\&.\&.\&.}) indicate zero or more repetitions
|
||||
|
|
|
|||
|
|
@ -233,14 +233,14 @@ typedef struct {
|
|||
.TA .5i 2.5i
|
||||
.ta .5i 2.5i
|
||||
typedef enum {
|
||||
XrmoptionNoArg, /\(** Value is specified in XrmOptionDescRec.value */
|
||||
XrmoptionIsArg, /\(** Value is the option string itself */
|
||||
XrmoptionStickyArg, /\(** Value is characters immediately following option */
|
||||
XrmoptionSepArg, /\(** Value is next argument in argv */
|
||||
XrmoptionResArg, /\(** Resource and value in next argument in argv */
|
||||
XrmoptionSkipArg, /\(** Ignore this option and the next argument in argv */
|
||||
XrmoptionSkipLine, /\(** Ignore this option and the rest of argv */
|
||||
XrmoptionSkipNArgs /\(** Ignore this option and the next
|
||||
XrmoptionNoArg, /\&* Value is specified in XrmOptionDescRec.value */
|
||||
XrmoptionIsArg, /\&* Value is the option string itself */
|
||||
XrmoptionStickyArg, /\&* Value is characters immediately following option */
|
||||
XrmoptionSepArg, /\&* Value is next argument in argv */
|
||||
XrmoptionResArg, /\&* Resource and value in next argument in argv */
|
||||
XrmoptionSkipArg, /\&* Ignore this option and the next argument in argv */
|
||||
XrmoptionSkipLine, /\&* Ignore this option and the rest of argv */
|
||||
XrmoptionSkipNArgs /\&* Ignore this option and the next
|
||||
\ \ \ XrmOptionDescRec.value arguments in argv */
|
||||
} XrmOptionKind;
|
||||
.De
|
||||
|
|
@ -249,10 +249,10 @@ typedef enum {
|
|||
.TA .5i 2.5i
|
||||
.ta .5i 2.5i
|
||||
typedef struct {
|
||||
char *option; /\(** Option specification string in argv */
|
||||
char *specifier; /\(** Binding and resource name (sans application name) */
|
||||
XrmOptionKind argKind; /\(** Which style of option it is */
|
||||
XPointer value; /\(** Value to provide if XrmoptionNoArg or
|
||||
char *option; /\&* Option specification string in argv */
|
||||
char *specifier; /\&* Binding and resource name (sans application name) */
|
||||
XrmOptionKind argKind; /\&* Which style of option it is */
|
||||
XPointer value; /\&* Value to provide if XrmoptionNoArg or
|
||||
\ \ \ XrmoptionSkipNArgs */
|
||||
} XrmOptionDescRec, *XrmOptionDescList;
|
||||
.De
|
||||
|
|
|
|||
|
|
@ -143,7 +143,7 @@
|
|||
.TH XrmUniqueQuark __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
|
||||
.SH NAME
|
||||
XrmUniqueQuark, XrmStringToQuark, XrmPermStringToQuark, XrmQuarkToString, XrmStringToQuarkList, XrmStringToBindingQuarkList \- manipulate resource quarks
|
||||
.SH SYNTAX
|
||||
.SH SYNOPSIS
|
||||
.HP
|
||||
XrmQuark XrmUniqueQuark\^(void);
|
||||
.LP
|
||||
|
|
@ -267,9 +267,9 @@ A binding list is a list of type
|
|||
and indicates if components of name or class lists are bound tightly or loosely
|
||||
(that is, if wildcarding of intermediate components is specified).
|
||||
.LP
|
||||
.Ds 0
|
||||
.EX
|
||||
typedef enum {XrmBindTightly, XrmBindLoosely} XrmBinding, *XrmBindingList;
|
||||
.De
|
||||
.EE
|
||||
.LP
|
||||
.ZN XrmBindTightly
|
||||
indicates that a period separates the components, and
|
||||
|
|
@ -290,17 +290,15 @@ If the string does not start with period or asterisk,
|
|||
a period is assumed.
|
||||
For example, ``*a.b*c'' becomes:
|
||||
.LP
|
||||
.Ds 0
|
||||
.TA .75i 1.5i 2.25i
|
||||
.ta .75i 1.5i 2.25i
|
||||
.TS
|
||||
l l l.
|
||||
quarks a b c
|
||||
.br
|
||||
bindings loose tight loose
|
||||
.De
|
||||
.TE
|
||||
.SH "SEE ALSO"
|
||||
XrmGetResource(3X11),
|
||||
XrmInitialize(3X11),
|
||||
XrmMergeDatabases(3X11),
|
||||
XrmPutResource(3X11)
|
||||
.br
|
||||
.LP
|
||||
\fI\*(xL\fP
|
||||
|
|
|
|||
|
|
@ -156,6 +156,8 @@ _XimXConnect(Xim im)
|
|||
event.xclient.data.l[0] = (CARD32)spec->lib_connect_wid;
|
||||
event.xclient.data.l[1] = spec->major_code;
|
||||
event.xclient.data.l[2] = spec->minor_code;
|
||||
event.xclient.data.l[3] = 0;
|
||||
event.xclient.data.l[4] = 0;
|
||||
|
||||
if(event.xclient.data.l[1] == 1 || event.xclient.data.l[1] == 2) {
|
||||
XWindowAttributes atr;
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@ CLEANFILES= \
|
|||
XLC_LOCALE
|
||||
|
||||
SUBDIRS= \
|
||||
am_ET.UTF-8 \
|
||||
armscii-8 \
|
||||
C \
|
||||
el_GR.UTF-8 \
|
||||
|
|
|
|||
4
nls/am_ET.UTF-8/.gitignore
vendored
Normal file
4
nls/am_ET.UTF-8/.gitignore
vendored
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
Compose
|
||||
Makefile
|
||||
Makefile.in
|
||||
XLC_LOCALE
|
||||
341
nls/am_ET.UTF-8/Compose.pre
Normal file
341
nls/am_ET.UTF-8/Compose.pre
Normal file
|
|
@ -0,0 +1,341 @@
|
|||
XCOMM
|
||||
XCOMM UTF-8 (Unicode) compose sequence
|
||||
XCOMM for Ethiopean layout.
|
||||
XCOMM Designed as a part of OLPC project
|
||||
XCOMM
|
||||
XCOMM 2007 Sergey Udaltsov <svu@gnome.org>
|
||||
XCOMM
|
||||
|
||||
|
||||
XCOMM
|
||||
XCOMM Group I
|
||||
XCOMM
|
||||
|
||||
XCOMM Modifier: /u/
|
||||
<u> <U1200> : "ሁ" <U1201> # key h (base character ሀ)
|
||||
<u> <U1208> : "ሉ" <U1209> # key l (base character ለ)
|
||||
<u> <U1218> : "ሙ" <U1219> # key m (base character መ)
|
||||
<u> <U1228> : "ሩ" <U1229> # key r (base character ረ)
|
||||
<u> <U1230> : "ሱ" <U1231> # key s (base character ሰ)
|
||||
<u> <U1240> : "ቁ" <U1241> # key q (base character ቀ)
|
||||
<u> <U1260> : "ቡ" <U1261> # key b (base character በ)
|
||||
<u> <U1270> : "ቱ" <U1271> # key t (base character ተ)
|
||||
<u> <U1290> : "ኑ" <U1291> # key n (base character ነ)
|
||||
<u> <U12A0> : "ኡ" <U12A1> # key x (base character አ)
|
||||
<u> <U12A8> : "ኩ" <U12A9> # key k (base character ከ)
|
||||
<u> <U12C8> : "ዉ" <U12C9> # key w (base character ወ)
|
||||
<u> <U12D8> : "ዙ" <U12D9> # key z (base character ዘ)
|
||||
<u> <U12E8> : "ዩ" <U12E9> # key y (base character የ)
|
||||
<u> <U12F0> : "ዱ" <U12F1> # key d (base character ደ)
|
||||
<u> <U1300> : "ጁ" <U1301> # key j (base character ጀ)
|
||||
<u> <U1308> : "ጉ" <U1309> # key g (base character ገ)
|
||||
<u> <U1340> : "ፁ" <U1341> # key [ (base character ፀ)
|
||||
<u> <U1348> : "ፉ" <U1349> # key f (base character ፈ)
|
||||
<u> <U1350> : "ፑ" <U1351> # key p (base character ፐ)
|
||||
<u> <U1238> : "ሹ" <U1239> # key v (base character ሸ)
|
||||
<u> <U1328> : "ጩ" <U1329> # key ] (base character ጨ)
|
||||
|
||||
XCOMM Modifier: /i/
|
||||
<i> <U1200> : "ሂ" <U1202> # key h (base character ሀ)
|
||||
<i> <U1208> : "ሊ" <U120A> # key l (base character ለ)
|
||||
<i> <U1218> : "ሚ" <U121A> # key m (base character መ)
|
||||
<i> <U1228> : "ሪ" <U122A> # key r (base character ረ)
|
||||
<i> <U1230> : "ሲ" <U1232> # key s (base character ሰ)
|
||||
<i> <U1240> : "ቂ" <U1242> # key q (base character ቀ)
|
||||
<i> <U1260> : "ቢ" <U1262> # key b (base character በ)
|
||||
<i> <U1270> : "ቲ" <U1272> # key t (base character ተ)
|
||||
<i> <U1290> : "ኒ" <U1292> # key n (base character ነ)
|
||||
<i> <U12A0> : "ኢ" <U12A2> # key x (base character አ)
|
||||
<i> <U12A8> : "ኪ" <U12AA> # key k (base character ከ)
|
||||
<i> <U12C8> : "ዊ" <U12CA> # key w (base character ወ)
|
||||
<i> <U12D8> : "ዚ" <U12DA> # key z (base character ዘ)
|
||||
<i> <U12E8> : "ዪ" <U12EA> # key y (base character የ)
|
||||
<i> <U12F0> : "ዲ" <U12F2> # key d (base character ደ)
|
||||
<i> <U1300> : "ጂ" <U1302> # key j (base character ጀ)
|
||||
<i> <U1308> : "ጊ" <U130A> # key g (base character ገ)
|
||||
<i> <U1340> : "ፂ" <U1342> # key [ (base character ፀ)
|
||||
<i> <U1348> : "ፊ" <U134A> # key f (base character ፈ)
|
||||
<i> <U1350> : "ፒ" <U1352> # key p (base character ፐ)
|
||||
<i> <U1238> : "ሺ" <U123A> # key v (base character ሸ)
|
||||
<i> <U1328> : "ጪ" <U132A> # key ] (base character ጨ)
|
||||
|
||||
XCOMM Modifier: /a/
|
||||
<a> <U1200> : "ሃ" <U1203> # key h (base character ሀ)
|
||||
<a> <U1208> : "ላ" <U120B> # key l (base character ለ)
|
||||
<a> <U1218> : "ማ" <U121B> # key m (base character መ)
|
||||
<a> <U1228> : "ራ" <U122B> # key r (base character ረ)
|
||||
<a> <U1230> : "ሳ" <U1233> # key s (base character ሰ)
|
||||
<a> <U1240> : "ቃ" <U1243> # key q (base character ቀ)
|
||||
<a> <U1260> : "ባ" <U1263> # key b (base character በ)
|
||||
<a> <U1270> : "ታ" <U1273> # key t (base character ተ)
|
||||
<a> <U1290> : "ና" <U1293> # key n (base character ነ)
|
||||
<a> <U12A0> : "ኣ" <U12A3> # key x (base character አ)
|
||||
<a> <U12A8> : "ካ" <U12AB> # key k (base character ከ)
|
||||
<a> <U12C8> : "ዋ" <U12CB> # key w (base character ወ)
|
||||
<a> <U12D8> : "ዛ" <U12DB> # key z (base character ዘ)
|
||||
<a> <U12E8> : "ያ" <U12EB> # key y (base character የ)
|
||||
<a> <U12F0> : "ዳ" <U12F3> # key d (base character ደ)
|
||||
<a> <U1300> : "ጃ" <U1303> # key j (base character ጀ)
|
||||
<a> <U1308> : "ጋ" <U130B> # key g (base character ገ)
|
||||
<a> <U1340> : "ፃ" <U1343> # key [ (base character ፀ)
|
||||
<a> <U1348> : "ፋ" <U134B> # key f (base character ፈ)
|
||||
<a> <U1350> : "ፓ" <U1353> # key p (base character ፐ)
|
||||
<a> <U1238> : "ሻ" <U123B> # key v (base character ሸ)
|
||||
<a> <U1328> : "ጫ" <U132B> # key ] (base character ጨ)
|
||||
|
||||
XCOMM Modifier: /e/
|
||||
<e> <U1200> : "ሄ" <U1204> # key h (base character ሀ)
|
||||
<e> <U1208> : "ሌ" <U120C> # key l (base character ለ)
|
||||
<e> <U1218> : "ሜ" <U121C> # key m (base character መ)
|
||||
<e> <U1228> : "ሬ" <U122C> # key r (base character ረ)
|
||||
<e> <U1230> : "ሴ" <U1234> # key s (base character ሰ)
|
||||
<e> <U1240> : "ቄ" <U1244> # key q (base character ቀ)
|
||||
<e> <U1260> : "ቤ" <U1264> # key b (base character በ)
|
||||
<e> <U1270> : "ቴ" <U1274> # key t (base character ተ)
|
||||
<e> <U1290> : "ኔ" <U1294> # key n (base character ነ)
|
||||
<e> <U12A0> : "ኤ" <U12A4> # key x (base character አ)
|
||||
<e> <U12A8> : "ኬ" <U12AC> # key k (base character ከ)
|
||||
<e> <U12C8> : "ዌ" <U12CC> # key w (base character ወ)
|
||||
<e> <U12D8> : "ዜ" <U12DC> # key z (base character ዘ)
|
||||
<e> <U12E8> : "ዬ" <U12EC> # key y (base character የ)
|
||||
<e> <U12F0> : "ዴ" <U12F4> # key d (base character ደ)
|
||||
<e> <U1300> : "ጄ" <U1304> # key j (base character ጀ)
|
||||
<e> <U1308> : "ጌ" <U130C> # key g (base character ገ)
|
||||
<e> <U1340> : "ፄ" <U1344> # key [ (base character ፀ)
|
||||
<e> <U1348> : "ፌ" <U134C> # key f (base character ፈ)
|
||||
<e> <U1350> : "ፔ" <U1354> # key p (base character ፐ)
|
||||
<e> <U1238> : "ሼ" <U123C> # key v (base character ሸ)
|
||||
<e> <U1328> : "ጬ" <U132C> # key ] (base character ጨ)
|
||||
|
||||
XCOMM Modifier: /c/
|
||||
<c> <U1200> : "ህ" <U1205> # key h (base character ሀ)
|
||||
<c> <U1208> : "ል" <U120D> # key l (base character ለ)
|
||||
<c> <U1218> : "ም" <U121D> # key m (base character መ)
|
||||
<c> <U1228> : "ር" <U122D> # key r (base character ረ)
|
||||
<c> <U1230> : "ስ" <U1235> # key s (base character ሰ)
|
||||
<c> <U1240> : "ቅ" <U1245> # key q (base character ቀ)
|
||||
<c> <U1260> : "ብ" <U1265> # key b (base character በ)
|
||||
<c> <U1270> : "ት" <U1275> # key t (base character ተ)
|
||||
<c> <U1290> : "ን" <U1295> # key n (base character ነ)
|
||||
<c> <U12A0> : "እ" <U12A5> # key x (base character አ)
|
||||
<c> <U12A8> : "ክ" <U12AD> # key k (base character ከ)
|
||||
<c> <U12C8> : "ው" <U12CD> # key w (base character ወ)
|
||||
<c> <U12D8> : "ዝ" <U12DD> # key z (base character ዘ)
|
||||
<c> <U12E8> : "ይ" <U12ED> # key y (base character የ)
|
||||
<c> <U12F0> : "ድ" <U12F5> # key d (base character ደ)
|
||||
<c> <U1300> : "ጅ" <U1305> # key j (base character ጀ)
|
||||
<c> <U1308> : "ግ" <U130D> # key g (base character ገ)
|
||||
<c> <U1340> : "ፅ" <U1345> # key [ (base character ፀ)
|
||||
<c> <U1348> : "ፍ" <U134D> # key f (base character ፈ)
|
||||
<c> <U1350> : "ፕ" <U1355> # key p (base character ፐ)
|
||||
<c> <U1238> : "ሽ" <U123D> # key v (base character ሸ)
|
||||
<c> <U1328> : "ጭ" <U132D> # key ] (base character ጨ)
|
||||
|
||||
XCOMM Modifier: /o/
|
||||
<o> <U1200> : "ሆ" <U1206> # key h (base character ሀ)
|
||||
<o> <U1208> : "ሎ" <U120E> # key l (base character ለ)
|
||||
<o> <U1218> : "ሞ" <U121E> # key m (base character መ)
|
||||
<o> <U1228> : "ሮ" <U122E> # key r (base character ረ)
|
||||
<o> <U1230> : "ሶ" <U1236> # key s (base character ሰ)
|
||||
<o> <U1240> : "ቆ" <U1246> # key q (base character ቀ)
|
||||
<o> <U1260> : "ቦ" <U1266> # key b (base character በ)
|
||||
<o> <U1270> : "ቶ" <U1276> # key t (base character ተ)
|
||||
<o> <U1290> : "ኖ" <U1296> # key n (base character ነ)
|
||||
<o> <U12A0> : "ኦ" <U12A6> # key x (base character አ)
|
||||
<o> <U12A8> : "ኮ" <U12AE> # key k (base character ከ)
|
||||
<o> <U12C8> : "ዎ" <U12CE> # key w (base character ወ)
|
||||
<o> <U12D8> : "ዞ" <U12DE> # key z (base character ዘ)
|
||||
<o> <U12E8> : "ዮ" <U12EE> # key y (base character የ)
|
||||
<o> <U12F0> : "ዶ" <U12F6> # key d (base character ደ)
|
||||
<o> <U1300> : "ጆ" <U1306> # key j (base character ጀ)
|
||||
<o> <U1308> : "ጎ" <U130E> # key g (base character ገ)
|
||||
<o> <U1340> : "ፆ" <U1346> # key [ (base character ፀ)
|
||||
<o> <U1348> : "ፎ" <U134E> # key f (base character ፈ)
|
||||
<o> <U1350> : "ፖ" <U1356> # key p (base character ፐ)
|
||||
<o> <U1238> : "ሾ" <U123E> # key v (base character ሸ)
|
||||
<o> <U1328> : "ጮ" <U132E> # key ] (base character ጨ)
|
||||
|
||||
XCOMM Modifier: /A/
|
||||
<A> <U1208> : "ሏ" <U120F> # key l (base character ለ)
|
||||
<A> <U1218> : "ሟ" <U121F> # key m (base character መ)
|
||||
<A> <U1228> : "ሯ" <U122F> # key r (base character ረ)
|
||||
<A> <U1230> : "ሷ" <U1237> # key s (base character ሰ)
|
||||
<A> <U1240> : "ቋ" <U124B> # key q (base character ቀ)
|
||||
<A> <U1260> : "ቧ" <U1267> # key b (base character በ)
|
||||
<A> <U1270> : "ቷ" <U1277> # key t (base character ተ)
|
||||
<A> <U1290> : "ኗ" <U1297> # key n (base character ነ)
|
||||
<A> <U12A0> : "ኧ" <U12A7> # key x (base character አ)
|
||||
<A> <U12A8> : "ኳ" <U12B3> # key k (base character ከ)
|
||||
<A> <U12D8> : "ዟ" <U12DF> # key z (base character ዘ)
|
||||
<A> <U12F0> : "ዷ" <U12F7> # key d (base character ደ)
|
||||
<A> <U1300> : "ጇ" <U1307> # key j (base character ጀ)
|
||||
<A> <U1308> : "ጓ" <U1313> # key g (base character ገ)
|
||||
<A> <U1348> : "ፏ" <U134F> # key f (base character ፈ)
|
||||
<A> <U1350> : "ፗ" <U1357> # key p (base character ፐ)
|
||||
<A> <U1238> : "ሿ" <U123F> # key v (base character ሸ)
|
||||
<A> <U1328> : "ጯ" <U132F> # key ] (base character ጨ)
|
||||
|
||||
XCOMM Modifier: /U/
|
||||
<U> <U1240> : "ቍ" <U124D> # key q (base character ቀ)
|
||||
<U> <U12A8> : "ኵ" <U12B5> # key k (base character ከ)
|
||||
<U> <U1308> : "ጕ" <U1315> # key g (base character ገ)
|
||||
|
||||
XCOMM Modifier: /I/
|
||||
<I> <U1240> : "ቊ" <U124A> # key q (base character ቀ)
|
||||
<I> <U12A8> : "ኲ" <U12B2> # key k (base character ከ)
|
||||
<I> <U1308> : "ጒ" <U1312> # key g (base character ገ)
|
||||
|
||||
XCOMM Modifier: /E/
|
||||
<E> <U1240> : "ቌ" <U124C> # key q (base character ቀ)
|
||||
<E> <U12A8> : "ኴ" <U12B4> # key k (base character ከ)
|
||||
<E> <U1308> : "ጔ" <U1314> # key g (base character ገ)
|
||||
|
||||
XCOMM Modifier: /O/
|
||||
<O> <U1240> : "ቈ" <U1248> # key q (base character ቀ)
|
||||
<O> <U12A8> : "ኰ" <U12B0> # key k (base character ከ)
|
||||
<O> <U1308> : "ጐ" <U1310> # key g (base character ገ)
|
||||
|
||||
XCOMM
|
||||
XCOMM Group II
|
||||
XCOMM
|
||||
XCOMM Modifier: /u/
|
||||
<u> <U1210> : "ሑ" <U1211> # key h (base character ሐ)
|
||||
<u> <U1220> : "ሡ" <U1221> # key s (base character ሠ)
|
||||
<u> <U1250> : "ቑ" <U1251> # key q (base character ቐ)
|
||||
<u> <U1278> : "ቹ" <U1279> # key c (base character ቸ)
|
||||
<u> <U1320> : "ጡ" <U1321> # key t (base character ጠ)
|
||||
<u> <U1298> : "ኙ" <U1299> # key n (base character ኘ)
|
||||
<u> <U12D0> : "ዑ" <U12D1> # key x (base character ዐ)
|
||||
<u> <U12B8> : "ኹ" <U12B9> # key k (base character ኸ)
|
||||
<u> <U12E0> : "ዡ" <U12E1> # key z (base character ዠ)
|
||||
<u> <U12F8> : "ዹ" <U12F9> # key d (base character ዸ)
|
||||
<u> <U1318> : "ጙ" <U1319> # key g (base character ጘ)
|
||||
<u> <U1338> : "ጹ" <U1339> # key [ (base character ጸ)
|
||||
<u> <U1330> : "ጱ" <U1331> # key p (base character ጰ)
|
||||
<u> <U1280> : "ኁ" <U1281> # key ] (base character ኀ)
|
||||
<u> <U1268> : "ቩ" <U1269> # key v (base character ቨ)
|
||||
|
||||
XCOMM Modifier: /i/
|
||||
<i> <U1210> : "ሒ" <U1212> # key h (base character ሐ)
|
||||
<i> <U1220> : "ሢ" <U1222> # key s (base character ሠ)
|
||||
<i> <U1250> : "ቒ" <U1252> # key q (base character ቐ)
|
||||
<i> <U1278> : "ቺ" <U127A> # key c (base character ቸ)
|
||||
<i> <U1320> : "ጢ" <U1322> # key t (base character ጠ)
|
||||
<i> <U1298> : "ኚ" <U129A> # key n (base character ኘ)
|
||||
<i> <U12D0> : "ዒ" <U12D2> # key x (base character ዐ)
|
||||
<i> <U12B8> : "ኺ" <U12BA> # key k (base character ኸ)
|
||||
<i> <U12E0> : "ዢ" <U12E2> # key z (base character ዠ)
|
||||
<i> <U12F8> : "ዺ" <U12FA> # key d (base character ዸ)
|
||||
<i> <U1318> : "ጚ" <U131A> # key g (base character ጘ)
|
||||
<i> <U1338> : "ጺ" <U133A> # key [ (base character ጸ)
|
||||
<i> <U1330> : "ጲ" <U1332> # key p (base character ጰ)
|
||||
<i> <U1280> : "ኂ" <U1282> # key ] (base character ኀ)
|
||||
<i> <U1268> : "ቪ" <U126A> # key v (base character ቨ)
|
||||
|
||||
XCOMM Modifier: /a/
|
||||
<a> <U1210> : "ሓ" <U1213> # key h (base character ሐ)
|
||||
<a> <U1220> : "ሣ" <U1223> # key s (base character ሠ)
|
||||
<a> <U1250> : "ቓ" <U1253> # key q (base character ቐ)
|
||||
<a> <U1278> : "ቻ" <U127B> # key c (base character ቸ)
|
||||
<a> <U1320> : "ጣ" <U1323> # key t (base character ጠ)
|
||||
<a> <U1298> : "ኛ" <U129B> # key n (base character ኘ)
|
||||
<a> <U12D0> : "ዓ" <U12D3> # key x (base character ዐ)
|
||||
<a> <U12B8> : "ኻ" <U12BB> # key k (base character ኸ)
|
||||
<a> <U12E0> : "ዣ" <U12E3> # key z (base character ዠ)
|
||||
<a> <U12F8> : "ዻ" <U12FB> # key d (base character ዸ)
|
||||
<a> <U1318> : "ጛ" <U131B> # key g (base character ጘ)
|
||||
<a> <U1338> : "ጻ" <U133B> # key [ (base character ጸ)
|
||||
<a> <U1330> : "ጳ" <U1333> # key p (base character ጰ)
|
||||
<a> <U1280> : "ኃ" <U1283> # key ] (base character ኀ)
|
||||
<a> <U1268> : "ቫ" <U126B> # key v (base character ቨ)
|
||||
|
||||
XCOMM Modifier: /e/
|
||||
<e> <U1210> : "ሔ" <U1214> # key h (base character ሐ)
|
||||
<e> <U1220> : "ሤ" <U1224> # key s (base character ሠ)
|
||||
<e> <U1250> : "ቔ" <U1254> # key q (base character ቐ)
|
||||
<e> <U1278> : "ቼ" <U127C> # key c (base character ቸ)
|
||||
<e> <U1320> : "ጤ" <U1324> # key t (base character ጠ)
|
||||
<e> <U1298> : "ኜ" <U129C> # key n (base character ኘ)
|
||||
<e> <U12D0> : "ዔ" <U12D4> # key x (base character ዐ)
|
||||
<e> <U12B8> : "ኼ" <U12BC> # key k (base character ኸ)
|
||||
<e> <U12E0> : "ዤ" <U12E4> # key z (base character ዠ)
|
||||
<e> <U12F8> : "ዼ" <U12FC> # key d (base character ዸ)
|
||||
<e> <U1318> : "ጜ" <U131C> # key g (base character ጘ)
|
||||
<e> <U1338> : "ጼ" <U133C> # key [ (base character ጸ)
|
||||
<e> <U1330> : "ጴ" <U1334> # key p (base character ጰ)
|
||||
<e> <U1280> : "ኄ" <U1284> # key ] (base character ኀ)
|
||||
<e> <U1268> : "ቬ" <U126C> # key v (base character ቨ)
|
||||
|
||||
XCOMM Modifier: /c/
|
||||
<c> <U1210> : "ሕ" <U1215> # key h (base character ሐ)
|
||||
<c> <U1220> : "ሥ" <U1225> # key s (base character ሠ)
|
||||
<c> <U1250> : "ቕ" <U1255> # key q (base character ቐ)
|
||||
<c> <U1278> : "ች" <U127D> # key c (base character ቸ)
|
||||
<c> <U1320> : "ጥ" <U1325> # key t (base character ጠ)
|
||||
<c> <U1298> : "ኝ" <U129D> # key n (base character ኘ)
|
||||
<c> <U12D0> : "ዕ" <U12D5> # key x (base character ዐ)
|
||||
<c> <U12B8> : "ኽ" <U12BD> # key k (base character ኸ)
|
||||
<c> <U12E0> : "ዥ" <U12E5> # key z (base character ዠ)
|
||||
<c> <U12F8> : "ዽ" <U12FD> # key d (base character ዸ)
|
||||
<c> <U1318> : "ጝ" <U131D> # key g (base character ጘ)
|
||||
<c> <U1338> : "ጽ" <U133D> # key [ (base character ጸ)
|
||||
<c> <U1330> : "ጵ" <U1335> # key p (base character ጰ)
|
||||
<c> <U1280> : "ኅ" <U1285> # key ] (base character ኀ)
|
||||
<c> <U1268> : "ቭ" <U126D> # key v (base character ቨ)
|
||||
|
||||
XCOMM Modifier: /o/
|
||||
<o> <U1210> : "ሖ" <U1216> # key h (base character ሐ)
|
||||
<o> <U1220> : "ሦ" <U1226> # key s (base character ሠ)
|
||||
<o> <U1250> : "ቖ" <U1256> # key q (base character ቐ)
|
||||
<o> <U1278> : "ቾ" <U127E> # key c (base character ቸ)
|
||||
<o> <U1320> : "ጦ" <U1326> # key t (base character ጠ)
|
||||
<o> <U1298> : "ኞ" <U129E> # key n (base character ኘ)
|
||||
<o> <U12D0> : "ዖ" <U12D6> # key x (base character ዐ)
|
||||
<o> <U12B8> : "ኾ" <U12BE> # key k (base character ኸ)
|
||||
<o> <U12E0> : "ዦ" <U12E6> # key z (base character ዠ)
|
||||
<o> <U12F8> : "ዾ" <U12FE> # key d (base character ዸ)
|
||||
<o> <U1318> : "ጞ" <U131E> # key g (base character ጘ)
|
||||
<o> <U1338> : "ጾ" <U133E> # key [ (base character ጸ)
|
||||
<o> <U1330> : "ጶ" <U1336> # key p (base character ጰ)
|
||||
<o> <U1280> : "ኆ" <U1286> # key ] (base character ኀ)
|
||||
<o> <U1268> : "ቮ" <U126E> # key v (base character ቨ)
|
||||
|
||||
XCOMM Modifier: /A/
|
||||
<A> <U1210> : "ሗ" <U1217> # key h (base character ሐ)
|
||||
<A> <U1220> : "ሧ" <U1227> # key s (base character ሠ)
|
||||
<A> <U1250> : "ቛ" <U125B> # key q (base character ቐ)
|
||||
<A> <U1278> : "ቿ" <U127F> # key c (base character ቸ)
|
||||
<A> <U1320> : "ጧ" <U1327> # key t (base character ጠ)
|
||||
<A> <U1298> : "ኟ" <U129F> # key n (base character ኘ)
|
||||
<A> <U12B8> : "ዃ" <U12C3> # key k (base character ኸ)
|
||||
<A> <U12E0> : "ዧ" <U12E7> # key z (base character ዠ)
|
||||
<A> <U12F8> : "ዿ" <U12FF> # key d (base character ዸ)
|
||||
<A> <U1338> : "ጿ" <U133F> # key [ (base character ጸ)
|
||||
<A> <U1330> : "ጷ" <U1337> # key p (base character ጰ)
|
||||
<A> <U1280> : "ኋ" <U128B> # key ] (base character ኀ)
|
||||
<A> <U1268> : "ቯ" <U126F> # key v (base character ቨ)
|
||||
|
||||
XCOMM Modifier: /U/
|
||||
<U> <U1250> : "ቝ" <U125D> # key q (base character ቐ)
|
||||
<U> <U12B8> : "ዅ" <U12C5> # key k (base character ኸ)
|
||||
|
||||
XCOMM Modifier: /I/
|
||||
<I> <U1250> : "ቚ" <U125A> # key q (base character ቐ)
|
||||
<I> <U12B8> : "ዂ" <U12C2> # key k (base character ኸ)
|
||||
|
||||
XCOMM Modifier: /E/
|
||||
<E> <U1250> : "ቜ" <U125C> # key q (base character ቐ)
|
||||
<E> <U12B8> : "ዄ" <U12C4> # key k (base character ኸ)
|
||||
|
||||
XCOMM Modifier: /O/
|
||||
<O> <U1250> : "ቘ" <U1258> # key q (base character ቐ)
|
||||
<O> <U12B8> : "ዀ" <U12C0> # key k (base character ኸ)
|
||||
|
||||
XCOMM
|
||||
XCOMM Group III
|
||||
XCOMM
|
||||
<backslash> <quotedbl> : "፥" <U1365> # key "
|
||||
<backslash> <apostrophe> : "፦" <U1366> # key "
|
||||
<backslash> <minus> : "|" <U007C> # key -
|
||||
<backslash> <underscore> : "¥" <U00A5> # key _
|
||||
<backslash> <question> : "፧" <U1367> # key ?
|
||||
3
nls/am_ET.UTF-8/Makefile.am
Normal file
3
nls/am_ET.UTF-8/Makefile.am
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
x11thislocaledir = $(X11_LOCALEDATADIR)/am_ET.UTF-8
|
||||
|
||||
include $(top_srcdir)/nls/localerules.in
|
||||
0
nls/am_ET.UTF-8/XI18N_OBJS
Normal file
0
nls/am_ET.UTF-8/XI18N_OBJS
Normal file
0
nls/am_ET.UTF-8/XLC_LOCALE.pre
Normal file
0
nls/am_ET.UTF-8/XLC_LOCALE.pre
Normal file
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
|
@ -89,7 +89,9 @@ XCOMM Spaces
|
|||
|
||||
<Multi_key> <period> <greater> : "›" U203a
|
||||
<Multi_key> <period> <less> : "‹" U2039
|
||||
<Multi_key> <period> <period> : "·" periodcentered
|
||||
<Multi_key> <period> <period> : "…" ellipsis
|
||||
<Multi_key> <period> <minus> : "·" periodcentered
|
||||
<Multi_key> <period> <equal> : "•" enfilledcircbullet
|
||||
<Multi_key> <exclam> <asciicircum> : "¦" brokenbar
|
||||
<Multi_key> <exclam> <exclam> : "¡" exclamdown
|
||||
<Multi_key> <p> <exclam> : "¶" paragraph
|
||||
|
|
|
|||
|
|
@ -53,7 +53,9 @@ Colormap XCreateColormap(
|
|||
UnlockDisplay(dpy);
|
||||
SyncHandle();
|
||||
|
||||
#ifdef XCMS
|
||||
_XcmsAddCmapRec(dpy, mid, w, visual);
|
||||
#endif
|
||||
|
||||
return(mid);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -46,6 +46,9 @@ XFreeColormap(
|
|||
UnlockDisplay(dpy);
|
||||
SyncHandle();
|
||||
|
||||
#ifdef XCMS
|
||||
_XcmsDeleteCmapRec(dpy, cmap);
|
||||
#endif
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -51,6 +51,7 @@ XColor *exact_def) /* RETURN */
|
|||
XcmsColor cmsColor_exact;
|
||||
Status ret;
|
||||
|
||||
#ifdef XCMS
|
||||
/*
|
||||
* Let's Attempt to use Xcms and i18n approach to Parse Color
|
||||
*/
|
||||
|
|
@ -76,6 +77,7 @@ XColor *exact_def) /* RETURN */
|
|||
break;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Xcms and i18n approach failed.
|
||||
|
|
|
|||
|
|
@ -49,6 +49,7 @@ XLookupColor (
|
|||
XcmsCCC ccc;
|
||||
XcmsColor cmsColor_exact;
|
||||
|
||||
#ifdef XCMS
|
||||
/*
|
||||
* Let's Attempt to use Xcms and i18n approach to Parse Color
|
||||
*/
|
||||
|
|
@ -73,6 +74,7 @@ XLookupColor (
|
|||
break;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Xcms and i18n methods failed, so lets pass it to the server
|
||||
|
|
|
|||
|
|
@ -86,6 +86,7 @@ XParseColor (
|
|||
}
|
||||
|
||||
|
||||
#ifdef XCMS
|
||||
/*
|
||||
* Let's Attempt to use Xcms and i18n approach to Parse Color
|
||||
*/
|
||||
|
|
@ -109,6 +110,7 @@ XParseColor (
|
|||
break;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Xcms and i18n methods failed, so lets pass it to the server
|
||||
|
|
|
|||
|
|
@ -121,7 +121,7 @@ _Xsetlocale(
|
|||
|
||||
#else /* X_LOCALE */
|
||||
|
||||
#ifdef __DARWIN__
|
||||
#ifdef __APPLE__
|
||||
char *
|
||||
_Xsetlocale(
|
||||
int category,
|
||||
|
|
@ -130,7 +130,7 @@ _Xsetlocale(
|
|||
{
|
||||
return setlocale(category, name);
|
||||
}
|
||||
#endif /* __DARWIN__ */
|
||||
#endif /* __APPLE__ */
|
||||
|
||||
/*
|
||||
* _XlcMapOSLocaleName is an implementation dependent routine that derives
|
||||
|
|
|
|||
|
|
@ -88,6 +88,9 @@ void XSetStandardColormap(
|
|||
stdcmap.visualid = sp->root_visual->visualid;
|
||||
stdcmap.killid = None; /* don't know how to kill this one */
|
||||
|
||||
#ifdef XCMS
|
||||
XSetRGBColormaps (dpy, w, &stdcmap, 1, property);
|
||||
#endif
|
||||
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -48,6 +48,7 @@ int flags) /* DoRed, DoGreen, DoBlue */
|
|||
XcmsColor cmsColor_exact;
|
||||
XColor scr_def;
|
||||
|
||||
#ifdef XCMS
|
||||
/*
|
||||
* Let's Attempt to use Xcms approach to Parse Color
|
||||
*/
|
||||
|
|
@ -64,6 +65,7 @@ int flags) /* DoRed, DoGreen, DoBlue */
|
|||
* name. Thus pass name to the X Server.
|
||||
*/
|
||||
}
|
||||
#endif
|
||||
|
||||
/*
|
||||
* The Xcms and i18n methods failed, so lets pass it to the server
|
||||
|
|
|
|||
16
src/XErrorDB
16
src/XErrorDB
|
|
@ -498,6 +498,18 @@ XRequest.GLX.17: X_GLXVendorPrivateWithReply
|
|||
XRequest.GLX.18: X_GLXQueryExtensionsString
|
||||
XRequest.GLX.19: X_GLXQueryServerString
|
||||
XRequest.GLX.20: X_GLXClientInfo
|
||||
XRequest.GLX.21: X_GLXGetFBConfigs
|
||||
XRequest.GLX.22: X_GLXCreatePixmap
|
||||
XRequest.GLX.23: X_GLXDestroyPixmap
|
||||
XRequest.GLX.24: X_GLXCreateNewContext
|
||||
XRequest.GLX.25: X_GLXQueryContext
|
||||
XRequest.GLX.26: X_GLXMakeContextCurrent
|
||||
XRequest.GLX.27: X_GLXCreatePbuffer
|
||||
XRequest.GLX.28: X_GLXDestroyPbuffer
|
||||
XRequest.GLX.29: X_GLXGetDrawableAttributes
|
||||
XRequest.GLX.30: X_GLXChangeDrawableAttributes
|
||||
XRequest.GLX.31: X_GLXCreateWindow
|
||||
XRequest.GLX.32: X_GLXDestroyWindow
|
||||
! GL Non-rendering Commands
|
||||
XRequest.GLX.103: X_GLXDeleteLists
|
||||
XRequest.GLX.102: X_GLXEndList
|
||||
|
|
@ -555,6 +567,10 @@ XProtoError.GLX.5: GLXBadCurrentWindow
|
|||
XProtoError.GLX.6: GLXBadRenderRequest
|
||||
XProtoError.GLX.7: GLXBadLargeRequest
|
||||
XProtoError.GLX.8: GLXUnsupportedPrivateRequest
|
||||
XProtoError.GLX.9: GLXBadFBConfig
|
||||
XProtoError.GLX.10: GLXBadPbuffer
|
||||
XProtoError.GLX.11: GLXBadCurrentDrawable
|
||||
XProtoError.GLX.12: GLXBadWindow
|
||||
! XC-MISC extension, an X Consortium standard
|
||||
XRequest.XC-MISC.0: XCMiscGetVersion
|
||||
XRequest.XC-MISC.1: XCMiscGetXIDRange
|
||||
|
|
|
|||
|
|
@ -199,6 +199,11 @@ XeroxPointerButton5 :10070005
|
|||
|
||||
! The definitions here should match <X11/XF86keysym.h>
|
||||
XF86ModeLock :1008FF01
|
||||
XF86MonBrightnessUp :1008FF02
|
||||
XF86MonBrightnessDown :1008FF03
|
||||
XF86KbdLightOnOff :1008FF04
|
||||
XF86KbdBrightnessUp :1008FF05
|
||||
XF86KbdBrightnessDown :1008FF06
|
||||
XF86Standby :1008FF10
|
||||
XF86AudioLowerVolume :1008FF11
|
||||
XF86AudioMute :1008FF12
|
||||
|
|
|
|||
|
|
@ -295,9 +295,11 @@ XID _XAllocID(Display *dpy)
|
|||
XID ret = dpy->xcb->next_xid;
|
||||
dpy->xcb->next_xid = 0;
|
||||
|
||||
assert(!(dpy->flags & XlibDisplayPrivSync));
|
||||
dpy->savedsynchandler = dpy->synchandler;
|
||||
dpy->flags |= XlibDisplayPrivSync;
|
||||
if(!(dpy->flags & XlibDisplayPrivSync))
|
||||
{
|
||||
dpy->savedsynchandler = dpy->synchandler;
|
||||
dpy->flags |= XlibDisplayPrivSync;
|
||||
}
|
||||
dpy->synchandler = _XIDHandler;
|
||||
return ret;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -240,7 +240,7 @@ _Xsetlocale(
|
|||
int category,
|
||||
_Xconst char *name);
|
||||
#else
|
||||
#ifdef __DARWIN__
|
||||
#ifdef __APPLE__
|
||||
extern char *
|
||||
_Xsetlocale(
|
||||
int category,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue