X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fxproto.xml;h=bfb8a4cff4c2227dfe265b73928de1138dbbcb33;hb=c9b1523b23af52087a6354730f86b8d19fa3c7c0;hp=69f3c8a1558df401f89ce2efdedf26c7b78b121a;hpb=a03633320a28e07e561de86b32e75c8e4626ece7;p=free-sw%2Fxcb%2Fproto
diff --git a/src/xproto.xml b/src/xproto.xml
index 69f3c8a..bfb8a4c 100644
--- a/src/xproto.xml
+++ b/src/xproto.xml
@@ -307,6 +307,44 @@ authorization from the authors.
+
+ a key was pressed/released
+
+
+
+
+
+
+
+
+
+
+
+
@@ -333,6 +371,44 @@ authorization from the authors.
+
+ a mouse button was pressed/released
+
+
+
+
+
+
+
+
+
+
+
+
@@ -356,6 +432,44 @@ authorization from the authors.
+
+ a key was pressed
+
+
+
+
+
+
+
+
+
+
+
+
@@ -389,6 +503,34 @@ authorization from the authors.
+
+ the pointer is in a different window
+
+
+
+
+
+
+
+
+
@@ -398,6 +540,16 @@ authorization from the authors.
+
+ NOT YET DOCUMENTED
+
+
+
+
+
@@ -415,6 +567,32 @@ authorization from the authors.
+
+ NOT YET DOCUMENTED
+
+
+
+
+
+
+
@@ -468,6 +646,17 @@ authorization from the authors.
+
+ a window is destroyed
+
+
+
+
@@ -476,6 +665,21 @@ authorization from the authors.
+
+ a window is unmapped
+
+
+
+
+
@@ -484,12 +688,36 @@ authorization from the authors.
+
+ a window was mapped
+
+
+
+
+
+
+ window wants to be mapped
+
+
+
+
@@ -515,6 +743,42 @@ authorization from the authors.
+
+ NOT YET DOCUMENTED
+
+
+
+
+
+
+
+
+
+
+
@@ -548,6 +812,14 @@ authorization from the authors.
- 0
- 1
+
+
+
+
@@ -557,6 +829,19 @@ authorization from the authors.
+
+ NOT YET DOCUMENTED
+
+
+
+
+
+
@@ -573,6 +858,21 @@ authorization from the authors.
+
+ a window property changed
+
+
+
+
+
+
+
@@ -588,6 +888,75 @@ authorization from the authors.
- 0
+ - 0
+ - 1
+ - 2
+ - 3
+ - 4
+ - 5
+ - 6
+ - 7
+ - 8
+ - 9
+ - 10
+ - 11
+ - 12
+ - 13
+ - 14
+ - 15
+ - 16
+ - 17
+ - 18
+ - 19
+ - 20
+ - 21
+ - 22
+ - 23
+ - 24
+ - 25
+ - 26
+ - 27
+ - 28
+ - 29
+ - 30
+ - 31
+ - 32
+ - 33
+ - 34
+ - 35
+ - 36
+ - 37
+ - 38
+ - 39
+ - 40
+ - 41
+ - 42
+ - 43
+ - 44
+ - 45
+ - 46
+ - 47
+ - 48
+ - 49
+ - 50
+ - 51
+ - 52
+ - 53
+ - 54
+ - 55
+ - 56
+ - 57
+ - 58
+ - 59
+ - 60
+ - 61
+ - 62
+ - 63
+ - 64
+ - 65
+ - 66
+ - 67
+ - 68
@@ -612,6 +981,14 @@ authorization from the authors.
- 0
- 1
+
+
+
+
@@ -625,6 +1002,22 @@ authorization from the authors.
+
+ the colormap for some window changed
+
+
+
+
+
+
+
@@ -640,6 +1033,26 @@ authorization from the authors.
+
+ NOT YET DOCUMENTED
+
+
+
+
+
+
@@ -654,9 +1067,34 @@ authorization from the authors.
+
+ keyboard mapping changed
+
+
+
+
+
-
+
+
+
+ generic event (with length)
+
+
+
+
+
@@ -722,6 +1160,106 @@ authorization from the authors.
- 12
- 13
- 14
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -758,6 +1296,79 @@ authorization from the authors.
+
+ Creates a window
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -766,6 +1377,43 @@ authorization from the authors.
+
+ change window attributes
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -794,12 +1442,79 @@ authorization from the authors.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Gets window attributes
+
+
+
+
+
+
+
+ Destroys a window
+
+
+
+
+
+
+
@@ -815,6 +1530,28 @@ authorization from the authors.
+
+ Changes a client's save set
+
+
+
+
+
+
+
+
@@ -823,11 +1560,78 @@ authorization from the authors.
+
+ Reparents a window
+
+
+
+
+
+
+
+
+
+
+
+
+ Makes a window visible
+
+
+
+
+
+
+
@@ -838,6 +1642,25 @@ authorization from the authors.
+
+ Makes a window invisible
+
+
+
+
+
+
+
@@ -866,9 +1689,60 @@ authorization from the authors.
+
+
+
+ Configures window attributes
+
+
+
+
+
+
+
+
+
+
+
@@ -879,6 +1753,27 @@ authorization from the authors.
+
+ Change window stacking order
+
+
+
+
+
+
+
@@ -893,7 +1788,67 @@ authorization from the authors.
+
+
+
+
+
+
+
+
+
+
+ Get current window geometry
+
+ x, reply->y);
+ }
+ free(reply);
+}
+ ]]>
+
+
+
+
+
@@ -908,7 +1863,51 @@ authorization from the authors.
children_len
+
+
+
+
+
+
+ query the window tree
+
+ root);
+ printf("parent = 0x%08x\\n", reply->parent);
+
+ xcb_window_t *children = xcb_query_tree_children(reply);
+ for (int i = 0; i < xcb_query_tree_children_length(reply); i++)
+ printf("child window = 0x%08x\\n", children[i]);
+
+ free(reply);
+ }
+}
+ ]]>
+
+
+
@@ -922,6 +1921,53 @@ authorization from the authors.
+
+ Get atom identifier by name
+
+ atom);
+ free(reply);
+ }
+}
+ ]]>
+
+
+
+
+
+
+
+
+
@@ -941,6 +1987,21 @@ authorization from the authors.
- 0
- 1
- 2
+
+
+
+
+
@@ -960,6 +2021,71 @@ authorization from the authors.
8
+
+ Changes a window property
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -986,15 +2112,110 @@ authorization from the authors.
-
- value_len
-
- format
- 8
-
-
+
+ value_len
+
+ format
+ 8
+
+
+
+
+
+
+
+
+
+ Gets a window property
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1015,6 +2236,38 @@ authorization from the authors.
+
+ Sets the owner of a selection
+
+
+
+
+
+
+
+
@@ -1023,7 +2276,27 @@ authorization from the authors.
+
+
+
+
+ Gets the owner of a selection
+
+
+
+
+
@@ -1045,11 +2318,97 @@ authorization from the authors.
32
+
+ send an event
+
+ event = window;
+ event->window = window;
+ event->response_type = XCB_CONFIGURE_NOTIFY;
+
+ event->x = 0;
+ event->y = 0;
+ event->width = 800;
+ event->height = 600;
+
+ event->border_width = 0;
+ event->above_sibling = XCB_NONE;
+ event->override_redirect = false;
+
+ xcb_send_event(conn, false, window, XCB_EVENT_MASK_STRUCTURE_NOTIFY,
+ (char*)event);
+ xcb_flush(conn);
+ free(event);
+}
+ ]]>
+
+
+
+
+
+
+
+
- 0
- 1
+
+
+
+
@@ -1076,11 +2435,118 @@ authorization from the authors.
+
+ Grab the pointer
+
+ root, /* grab the root window */
+ XCB_NONE, /* which events to let through */
+ XCB_GRAB_MODE_ASYNC, /* pointer events should continue as normal */
+ XCB_GRAB_MODE_ASYNC, /* keyboard mode */
+ XCB_NONE, /* confine_to = in which window should the cursor stay */
+ cursor, /* we change the cursor to whatever the user wanted */
+ XCB_CURRENT_TIME
+ );
+
+ if ((reply = xcb_grab_pointer_reply(conn, cookie, NULL))) {
+ if (reply->status == XCB_GRAB_STATUS_SUCCESS)
+ printf("successfully grabbed the pointer\\n");
+ free(preply);
+ }
+}
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ release the pointer
+
+
+
+
+
+
+
+
+
@@ -1090,6 +2556,26 @@ authorization from the authors.
- 3
- 4
- 5
+
+
+
+
+
+
+
+
@@ -1103,6 +2589,92 @@ authorization from the authors.
+
+ Grab pointer button(s)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1130,6 +2702,70 @@ authorization from the authors.
+
+ Grab the keyboard
+
+ root, /* grab the root window */
+ XCB_CURRENT_TIME,
+ XCB_GRAB_MODE_ASYNC, /* process events as normal, do not require sync */
+ XCB_GRAB_MODE_ASYNC
+ );
+
+ if ((reply = xcb_grab_keyboard_reply(conn, cookie, NULL))) {
+ if (reply->status == XCB_GRAB_STATUS_SUCCESS)
+ printf("successfully grabbed the keyboard\\n");
+
+ free(reply);
+ }
+}
+ ]]>
+
+
+
+
+
+
+
+
+
+
@@ -1150,6 +2786,78 @@ authorization from the authors.
+
+ Grab keyboard key(s)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1157,6 +2865,35 @@ authorization from the authors.
+
+ release a key combination
+
+
+
+
+
+
+
+
+
@@ -1168,11 +2905,106 @@ authorization from the authors.
- 5
- 6
- 7
+
+
+
+
+
+
+
+
+
+
+
+ release queued events
+
+
+
+
+
+
@@ -1192,7 +3024,56 @@ authorization from the authors.
+
+
+
+
+
+
+
+
+
+
+
+ get pointer coordinates
+
+
+
+
@@ -1225,8 +3106,8 @@ authorization from the authors.
-
-
+
+
@@ -1240,6 +3121,38 @@ authorization from the authors.
+
+ move mouse pointer
+
+
+
+
+
+
@@ -1248,12 +3161,71 @@ authorization from the authors.
- 1
- 2
- 3
+
+
+
+
+
+
+
+ Sets input focus
+
+
+
+
+
+
+
+
+
+
+
@@ -1278,6 +3250,28 @@ authorization from the authors.
name_len
+
+ opens a font
+
+
+
+
+
+
+
@@ -1330,7 +3324,48 @@ authorization from the authors.
char_infos_len
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ query font metrics
+
+
+
+
@@ -1349,6 +3384,47 @@ authorization from the authors.
+
+ get text extents
+
+
+
+
+
+
+
@@ -1372,7 +3448,31 @@ authorization from the authors.
names_len
+
+
+
+
+ get matching font names
+
+
+
+
+
@@ -1405,13 +3505,75 @@ authorization from the authors.
name_len
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ get matching font names and information
+
+
+
+
+
+
-
+
+
+ font_qty
+
@@ -1431,11 +3593,55 @@ authorization from the authors.
+
+ Creates a pixmap
+
+
+
+
+
+
+
+
+
+
+
+
+ Destroys a pixmap
+
+
+
+
@@ -1462,6 +3668,154 @@ authorization from the authors.
- 20
- 21
- 22
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1532,6 +3886,39 @@ authorization from the authors.
+
+ Creates a graphics context
+
+
+
+
+
+
+
+
+
+
+
@@ -1540,6 +3927,62 @@ authorization from the authors.
+
+ change graphics context components
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1577,6 +4020,16 @@ authorization from the authors.
+
+ Destroys a graphics context
+
+
+
+
@@ -1599,6 +4052,48 @@ authorization from the authors.
+
+ copy areas
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1618,6 +4113,14 @@ authorization from the authors.
- 0
- 1
+
+
+
+
@@ -1633,6 +4136,56 @@ authorization from the authors.
+
+ draw lines
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1647,6 +4200,43 @@ authorization from the authors.
+
+ draw lines
+
+
+
+
+
+
+
+
+
@@ -1689,6 +4279,42 @@ authorization from the authors.
+
+ Fills rectangles
+
+
+
+
+
+
+
+
+
@@ -1767,6 +4393,52 @@ authorization from the authors.
string_len
+
+ Draws text
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1778,6 +4450,53 @@ authorization from the authors.
string_len
+
+ Draws text
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1841,6 +4560,31 @@ authorization from the authors.
+
+ Allocate a color
+
+
+
+
+
+
+
@@ -2018,11 +4762,82 @@ authorization from the authors.
+
+ create cursor
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Deletes a cursor
+
+
+
+
+
@@ -2067,7 +4882,44 @@ authorization from the authors.
+
+
+
+
+
+
+
+ check if extension is present
+
+
+
+
+
+
@@ -2084,6 +4936,7 @@ authorization from the authors.
+
keycode_count
@@ -2223,7 +5076,7 @@ authorization from the authors.
-
+
address_len
@@ -2274,6 +5127,24 @@ authorization from the authors.
+
+ kills a client
+
+
+
+
+
+