X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fxproto.xml;h=bfb8a4cff4c2227dfe265b73928de1138dbbcb33;hb=6a5ed4a8c685cad0341467114013a127e4141c4d;hp=0b796a93c0c929195a714c549f5e498a69573faa;hpb=480d3bd8c084971c1212a005e960d641a809af06;p=free-sw%2Fxcb%2Fproto
diff --git a/src/xproto.xml b/src/xproto.xml
index 0b796a9..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,13 +299,52 @@ authorization from the authors.
-
+
-
+
+
+
+ a key was pressed/released
+
+
+
+
+
+
+
+
+
+
+
+
@@ -267,13 +363,52 @@ authorization from the authors.
-
+
-
+
+
+
+ a mouse button was pressed/released
+
+
+
+
+
+
+
+
+
+
+
+
@@ -285,17 +420,56 @@ authorization from the authors.
-
+
-
+
-
+
+
+
+ a key was pressed
+
+
+
+
+
+
+
+
+
+
+
+
@@ -317,26 +491,65 @@ authorization from the authors.
-
+
-
+
-
-
+
+
+
+ the pointer is in a different window
+
+
+
+
+
+
+
+
+
-
+
-
+
+
+
+ NOT YET DOCUMENTED
+
+
+
+
+
@@ -353,6 +566,33 @@ authorization from the authors.
+
+
+ NOT YET DOCUMENTED
+
+
+
+
+
+
+
@@ -365,6 +605,7 @@ authorization from the authors.
+
@@ -372,6 +613,7 @@ authorization from the authors.
+
@@ -383,7 +625,8 @@ authorization from the authors.
-
+
+
@@ -396,12 +639,24 @@ authorization from the authors.
+
+
+ a window is destroyed
+
+
+
+
@@ -409,6 +664,22 @@ authorization from the authors.
+
+
+ a window is unmapped
+
+
+
+
+
@@ -416,12 +687,37 @@ authorization from the authors.
+
+
+ a window was mapped
+
+
+
+
+
+
+ window wants to be mapped
+
+
+
+
@@ -432,32 +728,70 @@ authorization from the authors.
+
-
+
+
+
+ NOT YET DOCUMENTED
+
+
+
+
+
+
+
+
+
+
+
-
+
-
+
-
+
@@ -478,6 +812,14 @@ authorization from the authors.
- 0
- 1
+
+
+
+
@@ -485,7 +827,21 @@ authorization from the authors.
-
+
+
+
+ NOT YET DOCUMENTED
+
+
+
+
+
+
@@ -500,7 +856,23 @@ authorization from the authors.
-
+
+
+
+ a window property changed
+
+
+
+
+
+
+
@@ -510,36 +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
+
+
+
+
+
+
+
@@ -555,6 +1033,26 @@ authorization from the authors.
+
+ NOT YET DOCUMENTED
+
+
+
+
+
+
@@ -565,12 +1063,38 @@ authorization from the authors.
-
+
+
+
+ keyboard mapping changed
+
+
+
+
+
-
+
+
+
+ generic event (with length)
+
+
+
+
+
@@ -580,12 +1104,14 @@ authorization from the authors.
+
+
@@ -634,6 +1160,106 @@ authorization from the authors.
- 12
- 13
- 14
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -656,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
-
-
@@ -701,11 +1291,84 @@ authorization from the authors.
-
+
+
+ Creates a window
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -714,6 +1377,43 @@ authorization from the authors.
+
+ change window attributes
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -726,27 +1426,95 @@ authorization from the authors.
-
+
-
-
-
+
+
+
-
+
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Gets window attributes
+
+
+
+
+
+
+
+ Destroys a window
+
+
+
+
+
+
+
@@ -760,8 +1528,30 @@ authorization from the authors.
-
+
+
+ Changes a client's save set
+
+
+
+
+
+
+
+
@@ -770,11 +1560,78 @@ authorization from the authors.
+
+ Reparents a window
+
+
+
+
+
+
+
+
+
+
+
+
+ Makes a window visible
+
+
+
+
+
+
+
@@ -785,6 +1642,25 @@ authorization from the authors.
+
+ Makes a window invisible
+
+
+
+
+
+
+
@@ -813,9 +1689,60 @@ authorization from the authors.
+
+
+
+ Configures window attributes
+
+
+
+
+
+
+
+
+
+
+
@@ -824,8 +1751,29 @@ authorization from the authors.
-
+
+
+ Change window stacking order
+
+
+
+
+
+
+
@@ -839,7 +1787,68 @@ authorization from the authors.
+
+
+
+
+
+
+
+
+
+
+
+ Get current window geometry
+
+ x, reply->y);
+ }
+ free(reply);
+}
+ ]]>
+
+
+
+
+
@@ -848,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);
+ }
+}
+ ]]>
+
+
+
@@ -866,8 +1919,55 @@ authorization from the authors.
-
+
+
+ Get atom identifier by name
+
+ atom);
+ free(reply);
+ }
+}
+ ]]>
+
+
+
+
+
+
+
+
+
@@ -877,7 +1977,7 @@ authorization from the authors.
-
+
name_len
@@ -887,10 +1987,25 @@ authorization from the authors.
- 0
- 1
- 2
+
+
+
+
+
-
+
@@ -906,6 +2021,71 @@ authorization from the authors.
8
+
+ Changes a window property
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -922,7 +2102,7 @@ authorization from the authors.
-
+
@@ -932,9 +2112,110 @@ authorization from the authors.
- value_len
+
+ value_len
+
+ format
+ 8
+
+
+
+
+
+
+
+
+
+ Gets a window property
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -952,9 +2233,41 @@ authorization from the authors.
-
+
-
+
+
+ Sets the owner of a selection
+
+
+
+
+
+
+
+
@@ -962,8 +2275,28 @@ authorization from the authors.
-
+
+
+
+
+
+ Gets the owner of a selection
+
+
+
+
+
@@ -971,8 +2304,8 @@ authorization from the authors.
-
-
+
+
@@ -982,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
+
+
+
+
@@ -1000,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
+
+
+
+
+
+
+
+
+
@@ -1026,49 +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);
+ }
+}
+ ]]>
+
+
+
+
+
+
+
+
+
+
-
+
@@ -1079,16 +2781,119 @@ authorization from the authors.
-
-
-
-
+
+
+
+
+
+
+ Grab keyboard key(s)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
+
+
+
+ release a key combination
+
+
+
+
+
+
+
+
+
@@ -1100,11 +2905,106 @@ authorization from the authors.
- 5
- 6
- 7
+
+
+
+
+
+
+
+
+
+
-
-
+
+
+
+ release queued events
+
+
+
+
+
+
@@ -1117,13 +3017,63 @@ authorization from the authors.
-
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+ get pointer coordinates
+
+
+
+
@@ -1135,8 +3085,8 @@ authorization from the authors.
-
-
+
+
@@ -1155,22 +3105,54 @@ authorization from the authors.
-
-
-
+
+
+
-
-
+
+
+
+ move mouse pointer
+
+
+
+
+
+
@@ -1178,18 +3160,78 @@ authorization from the authors.
- 0
- 1
- 2
+ - 3
+
+
+
+
+
+
-
-
-
+
+
+
+
+ Sets input focus
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
@@ -1204,9 +3246,32 @@ authorization from the authors.
+
name_len
+
+ opens a font
+
+
+
+
+
+
+
@@ -1246,7 +3311,7 @@ authorization from the authors.
-
+
@@ -1259,7 +3324,48 @@ authorization from the authors.
char_infos_len
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ query font metrics
+
+
+
+
@@ -1269,7 +3375,7 @@ authorization from the authors.
-
+
@@ -1278,6 +3384,47 @@ authorization from the authors.
+
+ get text extents
+
+
+
+
+
+
+
@@ -1301,7 +3448,31 @@ authorization from the authors.
names_len
+
+
+
+
+ get matching font names
+
+
+
+
+
@@ -1321,7 +3492,7 @@ authorization from the authors.
-
+
@@ -1334,13 +3505,75 @@ authorization from the authors.
name_len
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ get matching font names and information
+
+
+
+
+
+
-
+
+
+ font_qty
+
@@ -1360,11 +3593,55 @@ authorization from the authors.
+
+ Creates a pixmap
+
+
+
+
+
+
+
+
+
+
+
+
+ Destroys a pixmap
+
+
+
+
@@ -1391,26 +3668,174 @@ authorization from the authors.
- 20
- 21
- 22
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
- - 0x0
- - 0x1
- - 0x2
- - 0x3
- - 0x4
- - 0x5
- - 0x6
- - 0x7
- - 0x8
- - 0x9
- - 0xa
- - 0xb
- - 0xc
- - 0xd
- - 0xe
- - 0xf
+ - 0
+ - 1
+ - 2
+ - 3
+ - 4
+ - 5
+ - 6
+ - 7
+ - 8
+ - 9
+ - 10
+ - 11
+ - 12
+ - 13
+ - 14
+ - 15
@@ -1427,7 +3852,7 @@ authorization from the authors.
- - 0
+ - 0
- 1
- 2
@@ -1461,6 +3886,39 @@ authorization from the authors.
+
+ Creates a graphics context
+
+
+
+
+
+
+
+
+
+
+
@@ -1469,13 +3927,69 @@ authorization from the authors.
+
+ change graphics context components
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
@@ -1496,7 +4010,7 @@ authorization from the authors.
-
+
@@ -1506,6 +4020,16 @@ authorization from the authors.
+
+ Destroys a graphics context
+
+
+
+
@@ -1528,6 +4052,48 @@ authorization from the authors.
+
+ copy areas
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1547,21 +4113,79 @@ authorization from the authors.
- 0
- 1
+
+
+
+
-
+
-
+
+
+ draw lines
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1576,6 +4200,43 @@ authorization from the authors.
+
+ draw lines
+
+
+
+
+
+
+
+
+
@@ -1607,8 +4268,9 @@ authorization from the authors.
-
-
+
+
+
@@ -1617,6 +4279,42 @@ authorization from the authors.
+
+ Fills rectangles
+
+
+
+
+
+
+
+
+
@@ -1633,7 +4331,7 @@ authorization from the authors.
-
+
@@ -1642,12 +4340,13 @@ authorization from the authors.
+
-
+
@@ -1694,6 +4393,52 @@ authorization from the authors.
string_len
+
+ Draws text
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1705,6 +4450,53 @@ authorization from the authors.
string_len
+
+ Draws text
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1713,7 +4505,7 @@ authorization from the authors.
-
+
@@ -1759,6 +4551,7 @@ authorization from the authors.
+
@@ -1767,12 +4560,38 @@ authorization from the authors.
+
+ Allocate a color
+
+
+
+
+
+
+
+
name_len
@@ -1846,7 +4665,7 @@ authorization from the authors.
-
+
@@ -1857,10 +4676,11 @@ authorization from the authors.
-
+
+
name_len
@@ -1891,6 +4711,7 @@ authorization from the authors.
+
name_len
@@ -1905,11 +4726,15 @@ authorization from the authors.
+
+ - 0
+
+
-
+
@@ -1920,11 +4745,15 @@ authorization from the authors.
+
+ - 0
+
+
-
+
@@ -1933,11 +4762,82 @@ authorization from the authors.
+
+ create cursor
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Deletes a cursor
+
+
+
+
+
@@ -1958,7 +4858,7 @@ authorization from the authors.
-
+
@@ -1972,6 +4872,7 @@ authorization from the authors.
+
name_len
@@ -1981,7 +4882,44 @@ authorization from the authors.
+
+
+
+
+
+
+
+ check if extension is present
+
+
+
+
+
+
@@ -1998,6 +4936,7 @@ authorization from the authors.
+
keycode_count
@@ -2050,7 +4989,7 @@ authorization from the authors.
-
+
@@ -2080,6 +5019,7 @@ authorization from the authors.
+
@@ -2102,8 +5042,8 @@ authorization from the authors.
-
-
+
+
@@ -2111,8 +5051,9 @@ authorization from the authors.
-
-
+
+
+
@@ -2131,17 +5072,17 @@ authorization from the authors.
-
-
+
+
-
+
address_len
-
+
@@ -2151,7 +5092,7 @@ authorization from the authors.
-
+
@@ -2166,7 +5107,7 @@ authorization from the authors.
-
+
@@ -2176,7 +5117,7 @@ authorization from the authors.
-
+
@@ -2185,10 +5126,29 @@ authorization from the authors.
-
+
+
+ kills a client
+
+
+
+
+
+
+
@@ -2203,7 +5163,7 @@ authorization from the authors.
-
+
@@ -2219,7 +5179,7 @@ authorization from the authors.
map_len
-
+
@@ -2253,7 +5213,7 @@ authorization from the authors.
-
+