X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Fxproto.xml;h=bfb8a4cff4c2227dfe265b73928de1138dbbcb33;hb=fffbd04d6344e2fa82f744935caf4be8a3b18a73;hp=dd9ea4269d3aba5fc6f43b7c3ef802877f1c9f0e;hpb=0275e428b753f0af736ca0b79c5331639c6517ef;p=free-sw%2Fxcb%2Fproto
diff --git a/src/xproto.xml b/src/xproto.xml
index dd9ea42..bfb8a4c 100644
--- a/src/xproto.xml
+++ b/src/xproto.xml
@@ -47,35 +47,25 @@ authorization from the authors.
-
-
-
-
+
+ WINDOW
+ PIXMAP
+
-
-
-
-
+
+ FONT
+ GCONTEXT
+
-
-
-
+
-
-
-
+
-
-
-
+
-
-
-
+
-
-
-
+
@@ -118,7 +108,7 @@ authorization from the authors.
-
+
@@ -137,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
+
+
-
+
@@ -150,7 +175,7 @@ authorization from the authors.
-
+
@@ -159,13 +184,14 @@ authorization from the authors.
-
+
+
authorization_protocol_name_len
@@ -216,8 +242,8 @@ authorization from the authors.
-
-
+
+
@@ -245,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
@@ -252,13 +299,52 @@ authorization from the authors.
-
+
-
+
+
+
+ a key was pressed/released
+
+
+
+
+
+
+
+
+
+
+
+
@@ -277,13 +363,52 @@ authorization from the authors.
-
+
-
+
+
+
+ a mouse button was pressed/released
+
+
+
+
+
+
+
+
+
+
+
+
@@ -295,17 +420,56 @@ authorization from the authors.
-
+
-
+
-
+
+
+
+ a key was pressed
+
+
+
+
+
+
+
+
+
+
+
+
@@ -327,26 +491,65 @@ authorization from the authors.
-
+
-
+
-
-
+
+
+
+ the pointer is in a different window
+
+
+
+
+
+
+
+
+
-
+
-
+
+
+
+ NOT YET DOCUMENTED
+
+
+
+
+
@@ -363,6 +566,33 @@ authorization from the authors.
+
+
+ NOT YET DOCUMENTED
+
+
+
+
+
+
+
@@ -375,6 +605,7 @@ authorization from the authors.
+
@@ -382,6 +613,7 @@ authorization from the authors.
+
@@ -393,7 +625,8 @@ authorization from the authors.
-
+
+
@@ -406,12 +639,24 @@ authorization from the authors.
+
+
+ a window is destroyed
+
+
+
+
@@ -419,6 +664,22 @@ authorization from the authors.
+
+
+ a window is unmapped
+
+
+
+
+
@@ -426,12 +687,37 @@ authorization from the authors.
+
+
+ a window was mapped
+
+
+
+
+
+
+ window wants to be mapped
+
+
+
+
@@ -442,32 +728,70 @@ authorization from the authors.
+
-
+
+
+
+ NOT YET DOCUMENTED
+
+
+
+
+
+
+
+
+
+
+
-
+
-
+
-
+
@@ -488,6 +812,14 @@ authorization from the authors.
- 0
- 1
+
+
+
+
@@ -495,7 +827,21 @@ authorization from the authors.
-
+
+
+
+ NOT YET DOCUMENTED
+
+
+
+
+
+
@@ -510,7 +856,23 @@ authorization from the authors.
-
+
+
+
+ a window property changed
+
+
+
+
+
+
+
@@ -520,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
+
+
+
+
+
+
+
@@ -565,6 +1033,26 @@ authorization from the authors.
+
+ NOT YET DOCUMENTED
+
+
+
+
+
+
@@ -575,12 +1063,38 @@ authorization from the authors.
-
+
+
+
+ keyboard mapping changed
+
+
+
+
+
-
+
+
+
+ generic event (with length)
+
+
+
+
+
@@ -590,12 +1104,14 @@ authorization from the authors.
+
+
@@ -644,6 +1160,106 @@ authorization from the authors.
- 12
- 13
- 14
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -666,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
-
-
@@ -711,11 +1291,84 @@ authorization from the authors.
-
+
+
+ Creates a window
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -724,6 +1377,43 @@ authorization from the authors.
+
+ change window attributes
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -736,27 +1426,95 @@ authorization from the authors.
-
+
-
-
-
+
+
+
-
+
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Gets window attributes
+
+
+
+
+
+
+
+ Destroys a window
+
+
+
+
+
+
+
@@ -770,8 +1528,30 @@ authorization from the authors.
-
+
+
+ Changes a client's save set
+
+
+
+
+
+
+
+
@@ -780,11 +1560,78 @@ authorization from the authors.
+
+ Reparents a window
+
+
+
+
+
+
+
+
+
+
+
+
+ Makes a window visible
+
+
+
+
+
+
+
@@ -795,6 +1642,25 @@ authorization from the authors.
+
+ Makes a window invisible
+
+
+
+
+
+
+
@@ -823,9 +1689,60 @@ authorization from the authors.
+
+
+
+ Configures window attributes
+
+
+
+
+
+
+
+
+
+
+
@@ -834,8 +1751,29 @@ authorization from the authors.
-
+
+
+ Change window stacking order
+
+
+
+
+
+
+
@@ -849,7 +1787,68 @@ authorization from the authors.
+
+
+
+
+
+
+
+
+
+
+
+ Get current window geometry
+
+ x, reply->y);
+ }
+ free(reply);
+}
+ ]]>
+
+
+
+
+
@@ -858,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);
+ }
+}
+ ]]>
+
+
+
@@ -876,8 +1919,55 @@ authorization from the authors.
-
+
+
+ Get atom identifier by name
+
+ atom);
+ free(reply);
+ }
+}
+ ]]>
+
+
+
+
+
+
+
+
+
@@ -887,7 +1977,7 @@ authorization from the authors.
-
+
name_len
@@ -897,10 +1987,25 @@ authorization from the authors.
- 0
- 1
- 2
+
+
+
+
+
-
+
@@ -916,6 +2021,71 @@ authorization from the authors.
8
+
+ Changes a window property
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -932,7 +2102,7 @@ authorization from the authors.
-
+
@@ -942,9 +2112,110 @@ authorization from the authors.
- value_len
+
+ value_len
+
+ format
+ 8
+
+
+
+
+
+
+
+
+
+ Gets a window property
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -962,9 +2233,41 @@ authorization from the authors.
-
+
-
+
+
+ Sets the owner of a selection
+
+
+
+
+
+
+
+
@@ -972,8 +2275,28 @@ authorization from the authors.
-
+
+
+
+
+
+ Gets the owner of a selection
+
+
+
+
+
@@ -981,8 +2304,8 @@ authorization from the authors.
-
-
+
+
@@ -992,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
+ - 0
+ - 1
+
+
+
+
@@ -1010,75 +2419,358 @@ 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
+
+
+
+
+
+
+
+
+
-
+
- 0
- 1
- 2
- 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);
+ }
+}
+ ]]>
+
+
+
+
+
+
+
+
+
+
-
+
@@ -1089,16 +2781,119 @@ authorization from the authors.
-
-
-
-
+
+
+
+
+
+
+ Grab keyboard key(s)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
+
+
+
+ release a key combination
+
+
+
+
+
+
+
+
+
@@ -1110,11 +2905,106 @@ authorization from the authors.
- 5
- 6
- 7
+
+
+
+
+
+
+
+
+
+
-
-
+
+
+
+ release queued events
+
+
+
+
+
+
@@ -1127,13 +3017,63 @@ authorization from the authors.
-
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+ get pointer coordinates
+
+
+
+
@@ -1145,8 +3085,8 @@ authorization from the authors.
-
-
+
+
@@ -1165,22 +3105,54 @@ authorization from the authors.
-
-
-
+
+
+
-
-
+
+
+
+ move mouse pointer
+
+
+
+
+
+
@@ -1188,18 +3160,78 @@ authorization from the authors.
- 0
- 1
- 2
+ - 3
+
+
+
+
+
+
-
-
-
+
+
+
+
+ Sets input focus
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
@@ -1214,9 +3246,32 @@ authorization from the authors.
+
name_len
+
+ opens a font
+
+
+
+
+
+
+
@@ -1256,7 +3311,7 @@ authorization from the authors.
-
+
@@ -1269,7 +3324,48 @@ authorization from the authors.
char_infos_len
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ query font metrics
+
+
+
+
@@ -1279,7 +3375,7 @@ authorization from the authors.
-
+
@@ -1288,6 +3384,47 @@ authorization from the authors.
+
+ get text extents
+
+
+
+
+
+
+
@@ -1311,7 +3448,31 @@ authorization from the authors.
names_len
+
+
+
+
+ get matching font names
+
+
+
+
+
@@ -1331,7 +3492,7 @@ authorization from the authors.
-
+
@@ -1344,13 +3505,75 @@ authorization from the authors.
name_len
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ get matching font names and information
+
+
+
+
+
+
-
+
+
+ font_qty
+
@@ -1370,11 +3593,55 @@ authorization from the authors.
+
+ Creates a pixmap
+
+
+
+
+
+
+
+
+
+
+
+
+ Destroys a pixmap
+
+
+
+
@@ -1401,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
@@ -1431,13 +3846,13 @@ authorization from the authors.
- 0
- - 1
- - 2
+ - 1
+ - 2
- 3
- - 0
+ - 0
- 1
- 2
@@ -1471,6 +3886,39 @@ authorization from the authors.
+
+ Creates a graphics context
+
+
+
+
+
+
+
+
+
+
+
@@ -1479,13 +3927,69 @@ authorization from the authors.
+
+ change graphics context components
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
@@ -1506,7 +4010,7 @@ authorization from the authors.
-
+
@@ -1516,6 +4020,16 @@ authorization from the authors.
+
+ Destroys a graphics context
+
+
+
+
@@ -1538,6 +4052,48 @@ authorization from the authors.
+
+ copy areas
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1557,21 +4113,79 @@ authorization from the authors.
- 0
- 1
+
+
+
+
-
+
-
+
+
+ draw lines
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1586,6 +4200,43 @@ authorization from the authors.
+
+ draw lines
+
+
+
+
+
+
+
+
+
@@ -1617,8 +4268,9 @@ authorization from the authors.
-
-
+
+
+
@@ -1627,6 +4279,42 @@ authorization from the authors.
+
+ Fills rectangles
+
+
+
+
+
+
+
+
+
@@ -1643,7 +4331,7 @@ authorization from the authors.
-
+
@@ -1652,12 +4340,13 @@ authorization from the authors.
+
-
+
@@ -1704,6 +4393,52 @@ authorization from the authors.
string_len
+
+ Draws text
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1715,6 +4450,53 @@ authorization from the authors.
string_len
+
+ Draws text
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1723,7 +4505,7 @@ authorization from the authors.
-
+
@@ -1769,6 +4551,7 @@ authorization from the authors.
+
@@ -1777,12 +4560,38 @@ authorization from the authors.
+
+ Allocate a color
+
+
+
+
+
+
+
+
name_len
@@ -1856,7 +4665,7 @@ authorization from the authors.
-
+
@@ -1867,10 +4676,11 @@ authorization from the authors.
-
+
+
name_len
@@ -1901,6 +4711,7 @@ authorization from the authors.
+
name_len
@@ -1915,11 +4726,15 @@ authorization from the authors.
+
+ - 0
+
+
-
+
@@ -1930,11 +4745,15 @@ authorization from the authors.
+
+ - 0
+
+
-
+
@@ -1943,11 +4762,82 @@ authorization from the authors.
+
+ create cursor
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Deletes a cursor
+
+
+
+
+
@@ -1968,7 +4858,7 @@ authorization from the authors.
-
+
@@ -1982,6 +4872,7 @@ authorization from the authors.
+
name_len
@@ -1991,7 +4882,44 @@ authorization from the authors.
+
+
+
+
+
+
+
+ check if extension is present
+
+
+
+
+
+
@@ -2008,6 +4936,7 @@ authorization from the authors.
+
keycode_count
@@ -2024,10 +4953,7 @@ authorization from the authors.
-
- length
- 4
-
+ length
@@ -2063,7 +4989,7 @@ authorization from the authors.
-
+
@@ -2093,6 +5019,7 @@ authorization from the authors.
+
@@ -2115,8 +5042,8 @@ authorization from the authors.
-
-
+
+
@@ -2124,12 +5051,13 @@ authorization from the authors.
-
-
+
+
+
-
+
- 0
- 1
@@ -2144,17 +5072,17 @@ authorization from the authors.
-
-
+
+
-
+
address_len
-
+
@@ -2164,7 +5092,7 @@ authorization from the authors.
-
+
@@ -2179,7 +5107,7 @@ authorization from the authors.
-
+
@@ -2189,7 +5117,7 @@ authorization from the authors.
-
+
@@ -2198,10 +5126,29 @@ authorization from the authors.
-
+
+
+ kills a client
+
+
+
+
+
+
+
@@ -2216,7 +5163,7 @@ authorization from the authors.
-
+
@@ -2232,7 +5179,7 @@ authorization from the authors.
map_len
-
+
@@ -2266,7 +5213,7 @@ authorization from the authors.
-
+