summaryrefslogtreecommitdiff
path: root/lib/libX11/man/XFocusChangeEvent.man
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libX11/man/XFocusChangeEvent.man')
-rw-r--r--lib/libX11/man/XFocusChangeEvent.man115
1 files changed, 41 insertions, 74 deletions
diff --git a/lib/libX11/man/XFocusChangeEvent.man b/lib/libX11/man/XFocusChangeEvent.man
index 0dfaee5e3..fdf21bece 100644
--- a/lib/libX11/man/XFocusChangeEvent.man
+++ b/lib/libX11/man/XFocusChangeEvent.man
@@ -38,57 +38,24 @@
.\" 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 XFocusChangeEvent __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
.SH NAME
XFocusChangeEvent \- FocusIn and FocusOut event structure
.SH STRUCTURES
The structure for
-.ZN FocusIn
+.B FocusIn
and
-.ZN FocusOut
+.B FocusOut
events contains:
.LP
-.Ds 0
+.EX
typedef struct {
int type; /\&* FocusIn or FocusOut */
unsigned long serial; /\&* # of last request processed by server */
@@ -98,14 +65,14 @@ typedef struct {
int mode; /\&* NotifyNormal, NotifyGrab, NotifyUngrab */
int detail;
/\&*
- * NotifyAncestor, NotifyVirtual, NotifyInferior,
+ * NotifyAncestor, NotifyVirtual, NotifyInferior,
* NotifyNonlinear,NotifyNonlinearVirtual, NotifyPointer,
- * NotifyPointerRoot, NotifyDetailNone
+ * NotifyPointerRoot, NotifyDetailNone
*/
} XFocusChangeEvent;
typedef XFocusChangeEvent XFocusInEvent;
typedef XFocusChangeEvent XFocusOutEvent;
-.De
+.EE
.LP
When you receive these events,
the structure members are set as follows.
@@ -113,16 +80,16 @@ 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.
@@ -130,49 +97,49 @@ The window member is set to the window that is most useful to toolkit
dispatchers.
.LP
The window member is set to the window on which the
-.ZN FocusIn
+.B FocusIn
or
-.ZN FocusOut
+.B FocusOut
event was generated.
-This is the window used by the X server to report the event.
-The mode member is set to indicate whether the focus events
-are normal focus events,
+This is the window used by the X server to report the event.
+The mode member is set to indicate whether the focus events
+are normal focus events,
focus events while grabbed,
focus events
when a grab activates, or focus events when a grab deactivates.
-The X server can set the mode member to
-.ZN NotifyNormal ,
-.ZN NotifyWhileGrabbed ,
-.ZN NotifyGrab ,
+The X server can set the mode member to
+.BR NotifyNormal ,
+.BR NotifyWhileGrabbed ,
+.BR NotifyGrab ,
or
-.ZN NotifyUngrab .
+.BR NotifyUngrab .
.LP
-All
-.ZN FocusOut
+All
+.B FocusOut
events caused by a window unmap are generated after any
-.ZN UnmapNotify
-event; however, the X protocol does not constrain the ordering of
-.ZN FocusOut
+.B UnmapNotify
+event; however, the X protocol does not constrain the ordering of
+.B FocusOut
events with respect to
-generated
-.ZN EnterNotify ,
-.ZN LeaveNotify ,
-.ZN VisibilityNotify ,
+generated
+.BR EnterNotify ,
+.BR LeaveNotify ,
+.BR VisibilityNotify ,
and
-.ZN Expose
+.B Expose
events.
.LP
Depending on the event mode,
the detail member is set to indicate the notify detail and can be
-.ZN NotifyAncestor ,
-.ZN NotifyVirtual ,
-.ZN NotifyInferior ,
-.ZN NotifyNonlinear ,
-.ZN NotifyNonlinearVirtual ,
-.ZN NotifyPointer ,
-.ZN NotifyPointerRoot ,
+.BR NotifyAncestor ,
+.BR NotifyVirtual ,
+.BR NotifyInferior ,
+.BR NotifyNonlinear ,
+.BR NotifyNonlinearVirtual ,
+.BR NotifyPointer ,
+.BR NotifyPointerRoot ,
or
-.ZN NotifyDetailNone .
+.BR NotifyDetailNone .
.SH "SEE ALSO"
XAnyEvent(__libmansuffix__),
XButtonEvent(__libmansuffix__),