Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

71 lines (70 sloc) 2.411 kb
.TH xcb_button_release_event_t 3 2011-12-18 "XCB" "XCB Events"
.ad l
.SH NAME
xcb_button_release_event_t \- a mouse button was pressed/released
.SH SYNOPSIS
.hy 0
.B #include <xcb/xproto.h>
.PP
.SS Event datastructure
.nf
.sp
typedef struct xcb_button_release_event_t {
uint8_t \fIresponse_type\fP;
xcb_button_t \fIdetail\fP;
uint16_t \fIsequence\fP;
xcb_timestamp_t \fItime\fP;
xcb_window_t \fIroot\fP;
xcb_window_t \fIevent\fP;
xcb_window_t \fIchild\fP;
int16_t \fIroot_x\fP;
int16_t \fIroot_y\fP;
int16_t \fIevent_x\fP;
int16_t \fIevent_y\fP;
uint16_t \fIstate\fP;
uint8_t \fIsame_screen\fP;
uint8_t \fIpad0\fP;
} \fBxcb_button_release_event_t\fP;
.fi
.br
.hy 1
.SH EVENT FIELDS
.IP \fIresponse_type\fP 1i
The type of this event, in this case \fIXCB_BUTTON_RELEASE\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 \fIdetail\fP 1i
The keycode (a number representing a physical key on the keyboard) of the key
which was pressed.
.IP \fItime\fP 1i
Time when the event was generated (in milliseconds).
.IP \fIroot\fP 1i
The root window of \fIchild\fP.
.IP \fIevent\fP 1i
NOT YET DOCUMENTED.
.IP \fIchild\fP 1i
NOT YET DOCUMENTED.
.IP \fIroot_x\fP 1i
The X coordinate of the pointer relative to the \fIroot\fP window at the time of
the event.
.IP \fIroot_y\fP 1i
The Y coordinate of the pointer relative to the \fIroot\fP window at the time of
the event.
.IP \fIevent_x\fP 1i
If \fIsame_screen\fP is true, this is the X coordinate relative to the \fIevent\fP
window's origin. Otherwise, \fIevent_x\fP will be set to zero.
.IP \fIevent_y\fP 1i
If \fIsame_screen\fP is true, this is the Y coordinate relative to the \fIevent\fP
window's origin. Otherwise, \fIevent_y\fP will be set to zero.
.IP \fIstate\fP 1i
The logical state of the pointer buttons and modifier keys just prior to the
event.
.IP \fIsame_screen\fP 1i
Whether the \fIevent\fP window is on the same screen as the \fIroot\fP window.
.SH DESCRIPTION
.SH SEE ALSO
.BR xcb_generic_event_t (3),
.BR xcb_grab_pointer (3),
.BR xcb_grab_button (3)
.SH AUTHOR
Generated from xproto.xml. Contact xcb@lists.freedesktop.org for corrections and improvements.
Jump to Line
Something went wrong with that request. Please try again.