diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2020-01-04 17:55:18 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2020-01-04 17:55:18 +0000 |
commit | 1128148d76d7952d7aacfa2b083f5b5a96b4b4d5 (patch) | |
tree | 9291b9dfdfb4da1828705353be85e340f302e651 /lib/libX11/man/XColormapEvent.man | |
parent | 7b7fd95cb6ee85ebe6d6d08b126b770770e86688 (diff) |
Uppdate to libX11 1.6.9. Tested by krw@ and naddy@
Diffstat (limited to 'lib/libX11/man/XColormapEvent.man')
-rw-r--r-- | lib/libX11/man/XColormapEvent.man | 79 |
1 files changed, 23 insertions, 56 deletions
diff --git a/lib/libX11/man/XColormapEvent.man b/lib/libX11/man/XColormapEvent.man index f793ac755..6295f98a0 100644 --- a/lib/libX11/man/XColormapEvent.man +++ b/lib/libX11/man/XColormapEvent.man @@ -38,55 +38,22 @@ .\" to this documentation without specific, written prior permission. .\" Digital and Tektronix makes no representations about the suitability .\" of this documentation for any purpose. -.\" It is provided ``as is'' without express or implied warranty. -.\" +.\" It is provided "as is" without express or implied warranty. +.\" .\" .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 .ds xC Inter-Client Communication Conventions Manual -.na -.de Ds -.nf -.\\$1D \\$2 \\$1 -.ft CW -.\".ps \\n(PS -.\".if \\n(VS>=40 .vs \\n(VSu -.\".if \\n(VS<=39 .vs \\n(VSp -.. -.de De -.ce 0 -.if \\n(BD .DF -.nr BD 0 -.in \\n(OIu -.if \\n(TM .ls 2 -.sp \\n(DDu -.fi -.. -.de IN \" send an index entry to the stderr -.. -.de Pn -.ie t \\$1\fB\^\\$2\^\fR\\$3 -.el \\$1\fI\^\\$2\^\fP\\$3 -.. -.de ZN -.ie t \fB\^\\$1\^\fR\\$2 -.el \fI\^\\$1\^\fP\\$2 -.. -.de hN -.ie t <\fB\\$1\fR>\\$2 -.el <\fI\\$1\fP>\\$2 -.. -.ny0 .TH XColormapEvent __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS" .SH NAME XColormapEvent \- ColormapNotify event structure .SH STRUCTURES The structure for -.ZN ColormapNotify +.B ColormapNotify events contains: .LP -.Ds 0 +.EX typedef struct { int type; /\&* ColormapNotify */ unsigned long serial; /\&* # of last request processed by server */ @@ -97,7 +64,7 @@ typedef struct { Bool new; int state; /\&* ColormapInstalled, ColormapUninstalled */ } XColormapEvent; -.De +.EE .LP When you receive this event, the structure members are set as follows. @@ -105,47 +72,47 @@ the structure members are set as follows. The type member is set to the event type constant name that uniquely identifies it. For example, when the X server reports a -.ZN GraphicsExpose +.B GraphicsExpose event to a client application, it sends an -.ZN XGraphicsExposeEvent +.B XGraphicsExposeEvent structure with the type member set to -.ZN GraphicsExpose . +.BR GraphicsExpose . The display member is set to a pointer to the display the event was read on. The send_event member is set to -.ZN True +.B True if the event came from a -.ZN SendEvent +.B SendEvent protocol request. The serial member is set from the serial number reported in the protocol but expanded from the 16-bit least-significant bits to a full 32-bit value. The window member is set to the window that is most useful to toolkit dispatchers. .LP -The window member is set to the window whose associated +The window member is set to the window whose associated colormap is changed, installed, or uninstalled. For a colormap that is changed, installed, or uninstalled, -the colormap member is set to the colormap associated with the window. +the colormap member is set to the colormap associated with the window. For a colormap that is changed by a call to -.ZN XFreeColormap , +.BR XFreeColormap , the colormap member is set to -.ZN None . -The new member is set to indicate whether the colormap +.BR None . +The new member is set to indicate whether the colormap for the specified window was changed or installed or uninstalled -and can be -.ZN True +and can be +.B True or -.ZN False . +.BR False . If it is -.ZN True , +.BR True , the colormap was changed. If it is -.ZN False , +.BR False , the colormap was installed or uninstalled. The state member is always set to indicate whether the colormap is installed or -uninstalled and can be -.ZN ColormapInstalled +uninstalled and can be +.B ColormapInstalled or -.ZN ColormapUninstalled . +.BR ColormapUninstalled . .SH "SEE ALSO" XAnyEvent(__libmansuffix__), XButtonEvent(__libmansuffix__), |