Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
54 lines (53 sloc) 1.7 KB
.TH xcb_expose_event_t 3 2011-12-18 "XCB" "XCB Events"
.ad l
.SH NAME
xcb_expose_event_t \- NOT YET DOCUMENTED
.SH SYNOPSIS
.hy 0
.B #include <xcb/xproto.h>
.PP
.SS Event datastructure
.nf
.sp
typedef struct xcb_expose_event_t {
uint8_t \fIresponse_type\fP;
uint8_t \fIpad0\fP;
uint16_t \fIsequence\fP;
xcb_window_t \fIwindow\fP;
uint16_t \fIx\fP;
uint16_t \fIy\fP;
uint16_t \fIwidth\fP;
uint16_t \fIheight\fP;
uint16_t \fIcount\fP;
uint8_t \fIpad1\fP[2];
} \fBxcb_expose_event_t\fP;
.fi
.br
.hy 1
.SH EVENT FIELDS
.IP \fIresponse_type\fP 1i
The type of this event, in this case \fIXCB_EXPOSE\fP. This field is also present in the \fIxcb_generic_event_t\fP and can be used to tell events apart from each other.
.IP \fIsequence\fP 1i
The sequence number of the last request processed by the X11 server.
.IP \fIwindow\fP 1i
The exposed (damaged) window.
.IP \fIx\fP 1i
The X coordinate of the left-upper corner of the exposed rectangle, relative to
the \fIwindow\fP's origin.
.IP \fIy\fP 1i
The Y coordinate of the left-upper corner of the exposed rectangle, relative to
the \fIwindow\fP's origin.
.IP \fIwidth\fP 1i
The width of the exposed rectangle.
.IP \fIheight\fP 1i
The height of the exposed rectangle.
.IP \fIcount\fP 1i
The amount of \fIExpose\fP events following this one. Simple applications that do
not want to optimize redisplay by distinguishing between subareas of its window
can just ignore all Expose events with nonzero counts and perform full
redisplays on events with zero counts.
.SH DESCRIPTION
.SH SEE ALSO
.BR xcb_generic_event_t (3)
.SH AUTHOR
Generated from xproto.xml. Contact xcb@lists.freedesktop.org for corrections and improvements.