X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fxproto.xml;h=bfb8a4cff4c2227dfe265b73928de1138dbbcb33;hb=HEAD;hp=5b7ea62ee42a18d5f03de1fc35af01e627610074;hpb=0d62c1d03f48f3c65e75e95b0479b364ebd25e36;p=free-sw%2Fxcb%2Fproto
diff --git a/src/xproto.xml b/src/xproto.xml
index 5b7ea62..bfb8a4c 100644
--- a/src/xproto.xml
+++ b/src/xproto.xml
@@ -108,7 +108,7 @@ authorization from the authors.
-
+
@@ -127,12 +127,47 @@ 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
+
+
+
+ - 0
+ - 1
+ - 2
+
+
-
+
@@ -140,7 +175,7 @@ authorization from the authors.
-
+
@@ -156,6 +191,7 @@ authorization from the authors.
+
authorization_protocol_name_len
@@ -206,8 +242,8 @@ authorization from the authors.
-
-
+
+
@@ -235,6 +271,27 @@ authorization from the authors.
- 5
- 6
- 7
+ - 15
+
+
+
+ - 0
+ - 1
+ - 2
+ - 3
+ - 4
+ - 5
+ - 6
+ - 7
+ - 8
+ - 9
+ - 10
+ - 11
+ - 12
+
+
+
+ - 0
@@ -242,14 +299,52 @@ authorization from the authors.
-
+
-
+
+
+ a key was pressed/released
+
+
+
+
+
+
+
+
+
+
+
+
@@ -268,14 +363,52 @@ authorization from the authors.
-
+
-
+
+
+ a mouse button was pressed/released
+
+
+
+
+
+
+
+
+
+
+
+
@@ -287,18 +420,56 @@ authorization from the authors.
-
+
-
+
-
+
+
+ a key was pressed
+
+
+
+
+
+
+
+
+
+
+
+
@@ -320,27 +491,65 @@ authorization from the authors.
-
+
-
+
-
-
+
+
+
+ the pointer is in a different window
+
+
+
+
+
+
+
+
+
-
+
-
+
+
+ NOT YET DOCUMENTED
+
+
+
+
+
@@ -358,6 +567,32 @@ authorization from the authors.
+
+ NOT YET DOCUMENTED
+
+
+
+
+
+
+
@@ -390,7 +625,7 @@ authorization from the authors.
-
+
@@ -411,6 +646,17 @@ authorization from the authors.
+
+ a window is destroyed
+
+
+
+
@@ -419,6 +665,21 @@ authorization from the authors.
+
+ a window is unmapped
+
+
+
+
+
@@ -427,12 +688,36 @@ authorization from the authors.
+
+ a window was mapped
+
+
+
+
+
+
+ window wants to be mapped
+
+
+
+
@@ -450,7 +735,7 @@ authorization from the authors.
-
+
@@ -458,19 +743,55 @@ authorization from the authors.
+
+ NOT YET DOCUMENTED
+
+
+
+
+
+
+
+
+
+
+
-
+
-
+
-
+
@@ -491,6 +812,14 @@ authorization from the authors.
- 0
- 1
+
+
+
+
@@ -498,8 +827,21 @@ authorization from the authors.
-
+
+
+ NOT YET DOCUMENTED
+
+
+
+
+
+
@@ -514,8 +856,23 @@ authorization from the authors.
-
+
+
+ a window property changed
+
+
+
+
+
+
+
@@ -525,37 +882,142 @@ authorization from the authors.
+
+ - 0
+
+
+
+ - 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
+
+
-
+
-
+
-
+
-
+
- 0
- 1
+
+
+
+
+
+
+
+ - 0
-
+
-
+
+
+ the colormap for some window changed
+
+
+
+
+
+
+
@@ -571,6 +1033,26 @@ authorization from the authors.
+
+ NOT YET DOCUMENTED
+
+
+
+
+
+
@@ -581,13 +1063,38 @@ authorization from the authors.
-
+
+
+ keyboard mapping changed
+
+
+
+
+
-
+
+
+
+ generic event (with length)
+
+
+
+
+
@@ -653,6 +1160,106 @@ authorization from the authors.
- 12
- 13
- 14
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -675,42 +1282,6 @@ authorization from the authors.
- 10
-
-
- - 0
- - 1
- - 2
-
-
-
- - 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
-
-
@@ -720,11 +1291,84 @@ authorization from the authors.
-
+
+
+ Creates a window
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -733,6 +1377,43 @@ authorization from the authors.
+
+ change window attributes
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -745,28 +1426,95 @@ authorization from the authors.
-
+
-
-
-
+
+
+
-
+
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Gets window attributes
+
+
+
+
+
+
+
+ Destroys a window
+
+
+
+
+
+
+
@@ -780,8 +1528,30 @@ authorization from the authors.
-
+
+
+ Changes a client's save set
+
+
+
+
+
+
+
+
@@ -790,11 +1560,78 @@ authorization from the authors.
+
+ Reparents a window
+
+
+
+
+
+
+
+
+
+
+
+
+ Makes a window visible
+
+
+
+
+
+
+
@@ -805,6 +1642,25 @@ authorization from the authors.
+
+ Makes a window invisible
+
+
+
+
+
+
+
@@ -833,10 +1689,60 @@ authorization from the authors.
+
+
+
+ Configures window attributes
+
+
+
+
+
+
+
+
+
+
+
@@ -845,8 +1751,29 @@ authorization from the authors.
-
+
+
+ Change window stacking order
+
+
+
+
+
+
+
@@ -861,7 +1788,67 @@ authorization from the authors.
+
+
+
+
+
+
+
+
+
+
+ Get current window geometry
+
+ x, reply->y);
+ }
+ free(reply);
+}
+ ]]>
+
+
+
+
+
@@ -870,13 +1857,57 @@ 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);
+ }
+}
+ ]]>
+
+
+
@@ -888,8 +1919,55 @@ authorization from the authors.
-
+
+
+ Get atom identifier by name
+
+ atom);
+ free(reply);
+ }
+}
+ ]]>
+
+
+
+
+
+
+
+
+
@@ -899,7 +1977,7 @@ authorization from the authors.
-
+
name_len
@@ -909,10 +1987,25 @@ authorization from the authors.
- 0
- 1
- 2
+
+
+
+
+
-
+
@@ -928,6 +2021,71 @@ authorization from the authors.
8
+
+ Changes a window property
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -944,7 +2102,7 @@ authorization from the authors.
-
+
@@ -954,9 +2112,110 @@ authorization from the authors.
- value_len
+
+ value_len
+
+ format
+ 8
+
+
+
+
+
+
+
+
+
+ Gets a window property
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -974,9 +2233,41 @@ authorization from the authors.
-
+
-
+
+
+ Sets the owner of a selection
+
+
+
+
+
+
+
+
@@ -984,8 +2275,28 @@ authorization from the authors.
-
+
+
+
+
+
+ Gets the owner of a selection
+
+
+
+
+
@@ -993,8 +2304,8 @@ authorization from the authors.
-
-
+
+
@@ -1004,14 +2315,100 @@ 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
+
+
+
+
@@ -1022,23 +2419,134 @@ authorization from the authors.
- 4
+
+ - 0
+
+
-
-
-
-
-
-
+
+
+
+
+
+
-
+
+
+ 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
+
+
+
+
+
+
+
+
+
@@ -1048,51 +2556,221 @@ authorization from the authors.
- 3
- 4
- 5
+
+
+
+
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
-
+
+
+ Grab pointer button(s)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
+
-
-
-
+
+
+
-
-
-
+
+
+
-
+
+
+ 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);
+ }
+}
+ ]]>
+
+
+
+
+
+
+
+
+
+
-
+
@@ -1103,18 +2781,119 @@ authorization from the authors.
-
-
-
-
+
+
+
+
+
+ Grab keyboard key(s)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
+
+
+ release a key combination
+
+
+
+
+
+
+
+
+
@@ -1126,11 +2905,106 @@ authorization from the authors.
- 5
- 6
- 7
+
+
+
+
+
+
+
+
+
+
-
-
+
+
+
+ release queued events
+
+
+
+
+
+
@@ -1143,14 +3017,63 @@ authorization from the authors.
-
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+ get pointer coordinates
+
+
+
+
@@ -1162,8 +3085,8 @@ authorization from the authors.
-
-
+
+
@@ -1182,22 +3105,54 @@ authorization from the authors.
-
-
-
+
+
+
-
-
+
+
+
+ move mouse pointer
+
+
+
+
+
+
@@ -1205,18 +3160,78 @@ authorization from the authors.
- 0
- 1
- 2
+ - 3
+
+
+
+
+
+
-
-
-
+
+
+
+
+ Sets input focus
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
@@ -1235,6 +3250,28 @@ authorization from the authors.
name_len
+
+ opens a font
+
+
+
+
+
+
+
@@ -1274,7 +3311,7 @@ authorization from the authors.
-
+
@@ -1287,7 +3324,48 @@ authorization from the authors.
char_infos_len
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ query font metrics
+
+
+
+
@@ -1297,7 +3375,7 @@ authorization from the authors.
-
+
@@ -1306,6 +3384,47 @@ authorization from the authors.
+
+ get text extents
+
+
+
+
+
+
+
@@ -1329,7 +3448,31 @@ authorization from the authors.
names_len
+
+
+
+
+ get matching font names
+
+
+
+
+
@@ -1349,7 +3492,7 @@ authorization from the authors.
-
+
@@ -1362,13 +3505,75 @@ authorization from the authors.
name_len
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ get matching font names and information
+
+
+
+
+
+
-
+
+
+ font_qty
+
@@ -1388,11 +3593,55 @@ authorization from the authors.
+
+ Creates a pixmap
+
+
+
+
+
+
+
+
+
+
+
+
+ Destroys a pixmap
+
+
+
+
@@ -1419,6 +3668,154 @@ authorization from the authors.
- 20
- 21
- 22
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1455,7 +3852,7 @@ authorization from the authors.
- - 0
+ - 0
- 1
- 2
@@ -1489,6 +3886,39 @@ authorization from the authors.
+
+ Creates a graphics context
+
+
+
+
+
+
+
+
+
+
+
@@ -1497,13 +3927,69 @@ authorization from the authors.
+
+ change graphics context components
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
@@ -1524,7 +4010,7 @@ authorization from the authors.
-
+
@@ -1534,6 +4020,16 @@ authorization from the authors.
+
+ Destroys a graphics context
+
+
+
+
@@ -1556,6 +4052,48 @@ authorization from the authors.
+
+ copy areas
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1575,21 +4113,79 @@ authorization from the authors.
- 0
- 1
+
+
+
+
-
+
-
+
+
+ draw lines
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1604,6 +4200,43 @@ authorization from the authors.
+
+ draw lines
+
+
+
+
+
+
+
+
+
@@ -1635,8 +4268,8 @@ authorization from the authors.
-
-
+
+
@@ -1646,6 +4279,42 @@ authorization from the authors.
+
+ Fills rectangles
+
+
+
+
+
+
+
+
+
@@ -1662,7 +4331,7 @@ authorization from the authors.
-
+
@@ -1677,7 +4346,7 @@ authorization from the authors.
-
+
@@ -1724,6 +4393,52 @@ authorization from the authors.
string_len
+
+ Draws text
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1735,6 +4450,53 @@ authorization from the authors.
string_len
+
+ Draws text
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1743,7 +4505,7 @@ authorization from the authors.
-
+
@@ -1798,6 +4560,31 @@ authorization from the authors.
+
+ Allocate a color
+
+
+
+
+
+
+
@@ -1878,7 +4665,7 @@ authorization from the authors.
-
+
@@ -1889,7 +4676,7 @@ authorization from the authors.
-
+
@@ -1939,11 +4726,15 @@ authorization from the authors.
+
+ - 0
+
+
-
+
@@ -1954,11 +4745,15 @@ authorization from the authors.
+
+ - 0
+
+
-
+
@@ -1967,11 +4762,82 @@ authorization from the authors.
+
+ create cursor
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Deletes a cursor
+
+
+
+
+
@@ -1992,7 +4858,7 @@ authorization from the authors.
-
+
@@ -2006,6 +4872,7 @@ authorization from the authors.
+
name_len
@@ -2015,7 +4882,44 @@ authorization from the authors.
+
+
+
+
+
+
+
+ check if extension is present
+
+
+
+
+
+
@@ -2032,6 +4936,7 @@ authorization from the authors.
+
keycode_count
@@ -2084,7 +4989,7 @@ authorization from the authors.
-
+
@@ -2137,8 +5042,8 @@ authorization from the authors.
-
-
+
+
@@ -2146,8 +5051,8 @@ authorization from the authors.
-
-
+
+
@@ -2167,17 +5072,17 @@ authorization from the authors.
-
-
+
+
-
+
address_len
-
+
@@ -2187,7 +5092,7 @@ authorization from the authors.
-
+
@@ -2202,7 +5107,7 @@ authorization from the authors.
-
+
@@ -2212,7 +5117,7 @@ authorization from the authors.
-
+
@@ -2221,7 +5126,25 @@ authorization from the authors.
-
+
+
+ kills a client
+
+
+
+
+
+
@@ -2240,7 +5163,7 @@ authorization from the authors.
-
+
@@ -2256,7 +5179,7 @@ authorization from the authors.
map_len
-
+
@@ -2290,7 +5213,7 @@ authorization from the authors.
-
+