1xcb_motion_notify_event_t(3)      XCB Events      xcb_motion_notify_event_t(3)
2
3
4

NAME

6       xcb_motion_notify_event_t - a key was pressed
7

SYNOPSIS

9       #include <xcb/xproto.h>
10
11   Event datastructure
12       typedef struct xcb_motion_notify_event_t {
13           uint8_t         response_type;
14           uint8_t         detail;
15           uint16_t        sequence;
16           xcb_timestamp_t time;
17           xcb_window_t    root;
18           xcb_window_t    event;
19           xcb_window_t    child;
20           int16_t         root_x;
21           int16_t         root_y;
22           int16_t         event_x;
23           int16_t         event_y;
24           uint16_t        state;
25           uint8_t         same_screen;
26           uint8_t         pad0;
27       } xcb_motion_notify_event_t;
28

EVENT FIELDS

30       response_type
31                 The type of this event, in this case XCB_MOTION_NOTIFY. This
32                 field is also present in the xcb_generic_event_t and can be
33                 used to tell events apart from each other.
34
35       sequence  The sequence number of the last request processed by the X11
36                 server.
37
38       detail    The keycode (a number representing a physical key on the key‐
39                 board) of the key which was pressed.
40
41       time      Time when the event was generated (in milliseconds).
42
43       root      The root window of child.
44
45       event     NOT YET DOCUMENTED.
46
47       child     NOT YET DOCUMENTED.
48
49       root_x    The X coordinate of the pointer relative to the root window
50                 at the time of the event.
51
52       root_y    The Y coordinate of the pointer relative to the root window
53                 at the time of the event.
54
55       event_x   If same_screen is true, this is the X coordinate relative to
56                 the event window's origin. Otherwise, event_x will be set to
57                 zero.
58
59       event_y   If same_screen is true, this is the Y coordinate relative to
60                 the event window's origin. Otherwise, event_y will be set to
61                 zero.
62
63       state     The logical state of the pointer buttons and modifier keys
64                 just prior to the event.
65
66       same_screen
67                 Whether the event window is on the same screen as the root
68                 window.
69

DESCRIPTION

SEE ALSO

72       xcb_generic_event_t(3), xcb_grab_key(3), xcb_grab_keyboard(3)
73

AUTHOR

75       Generated from xproto.xml. Contact xcb@lists.freedesktop.org for cor‐
76       rections and improvements.
77
78
79
80X Version 11                      libxcb 1.13     xcb_motion_notify_event_t(3)
Impressum