X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fxproto.xml;h=bf4dcbf0f2480df7fc3d574d604376c489d5590e;hb=e6a246e50e62cbcba33d0e1d2371e69e6e089383;hp=89df956bd20e788c1486a00d278b89f709ac03bd;hpb=cb4beff523f586cdaf60e57fa479a9340bdcbd50;p=free-sw%2Fxcb%2Fproto diff --git a/src/xproto.xml b/src/xproto.xml index 89df956..bf4dcbf 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 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - + - + 0 1 + + + + + + + + 0 - + - + + + the colormap for some window changed + + + + + + + @@ -571,6 +1033,26 @@ authorization from the authors. + + NOT YET DOCUMENTED + + + + + + @@ -581,10 +1063,21 @@ authorization from the authors. - + + + keyboard mapping changed + + + + + @@ -653,6 +1146,106 @@ authorization from the authors. 12 13 14 + + + + + + + + + + + + + + + + + @@ -675,42 +1268,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 +1277,84 @@ authorization from the authors. - + + + Creates a window + + + + + + + + + + + + + + + + + + + + + + + @@ -733,6 +1363,43 @@ authorization from the authors. + + change window attributes + + + + + + + + + + + + + @@ -745,28 +1412,95 @@ authorization from the authors. - + - - - + + + - + - - - - + + + + + + + + + + + + + + + + + + + + + + + Gets window attributes + + + + + + + + Destroys a window + + + + + + + @@ -780,8 +1514,30 @@ authorization from the authors. - + + + Changes a client's save set + + + + + + + + @@ -790,11 +1546,78 @@ authorization from the authors. + + Reparents a window + + + + + + + + + + + + + Makes a window visible + + + + + + + @@ -805,6 +1628,25 @@ authorization from the authors. + + Makes a window invisible + + + + + + + @@ -833,10 +1675,60 @@ authorization from the authors. + + + + Configures window attributes + + + + + + + + + + + @@ -845,8 +1737,29 @@ authorization from the authors. - + + + Change window stacking order + + + + + + + @@ -861,7 +1774,67 @@ authorization from the authors. + + + + + + + + + + + Get current window geometry + + x, reply->y); + } + free(reply); +} + ]]> + + + + + @@ -870,13 +1843,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 +1905,55 @@ authorization from the authors. - + + + Get atom identifier by name + + atom); + free(reply); + } +} + ]]> + + + + + + + + + @@ -909,10 +1973,25 @@ authorization from the authors. 0 1 2 + + + + + - + @@ -928,6 +2007,71 @@ authorization from the authors. 8 + + Changes a window property + + + + + + + + + + + + + + + + + + @@ -944,7 +2088,7 @@ authorization from the authors. - + @@ -954,9 +2098,110 @@ authorization from the authors. - value_len + + value_len + + format + 8 + + + + + + + + + + Gets a window property + + + + + + + + + + + + + + @@ -974,9 +2219,41 @@ authorization from the authors. - + - + + + Sets the owner of a selection + + + + + + + + @@ -984,8 +2261,28 @@ authorization from the authors. - + + + + + + Gets the owner of a selection + + + + + @@ -993,8 +2290,8 @@ authorization from the authors. - - + + @@ -1004,14 +2301,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 +2405,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 +2542,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 +2767,119 @@ authorization from the authors. - - - - + + + + + + Grab keyboard key(s) + + + + + + + + + + + + + + - + - + + + release a key combination + + + + + + + + + @@ -1126,11 +2891,106 @@ authorization from the authors. 5 6 7 + + + + + + + + + + - - + + + + release queued events + + + + + + @@ -1143,14 +3003,63 @@ authorization from the authors. - + - + + + + + + + + + + + + + get pointer coordinates + + + + @@ -1162,8 +3071,8 @@ authorization from the authors. - - + + @@ -1182,22 +3091,54 @@ authorization from the authors. - - - + + + - - + + + + move mouse pointer + + + + + + @@ -1205,18 +3146,78 @@ authorization from the authors. 0 1 2 + 3 + + + + + + - - - + + + + + Sets input focus + + + + + + + + + + + - - + + @@ -1235,6 +3236,28 @@ authorization from the authors. name_len + + opens a font + + + + + + + @@ -1274,7 +3297,7 @@ authorization from the authors. - + @@ -1287,7 +3310,48 @@ authorization from the authors. char_infos_len + + + + + + + + + + + + + + + query font metrics + + + + @@ -1297,7 +3361,7 @@ authorization from the authors. - + @@ -1306,6 +3370,47 @@ authorization from the authors. + + get text extents + + + + + + + @@ -1329,7 +3434,31 @@ authorization from the authors. names_len + + + + + get matching font names + + + + + @@ -1349,7 +3478,7 @@ authorization from the authors. - + @@ -1362,13 +3491,75 @@ authorization from the authors. name_len + + + + + + + + + + + + + + + + + get matching font names and information + + + + + + - + + + font_qty + @@ -1388,11 +3579,55 @@ authorization from the authors. + + Creates a pixmap + + + + + + + + + + + + + Destroys a pixmap + + + + @@ -1419,6 +3654,154 @@ authorization from the authors. 20 21 22 + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1455,7 +3838,7 @@ authorization from the authors. - 0 + 0 1 2 @@ -1489,6 +3872,39 @@ authorization from the authors. + + Creates a graphics context + + + + + + + + + + + @@ -1497,13 +3913,69 @@ authorization from the authors. + + change graphics context components + + + + + + + + + + + + + - + @@ -1524,7 +3996,7 @@ authorization from the authors. - + @@ -1534,6 +4006,16 @@ authorization from the authors. + + Destroys a graphics context + + + + @@ -1556,6 +4038,48 @@ authorization from the authors. + + copy areas + + + + + + + + + + + + + + @@ -1575,21 +4099,79 @@ authorization from the authors. 0 1 + + + + - + - + + + draw lines + + + + + + + + + + + + + @@ -1604,6 +4186,43 @@ authorization from the authors. + + draw lines + + + + + + + + + @@ -1635,8 +4254,8 @@ authorization from the authors. - - + + @@ -1646,6 +4265,42 @@ authorization from the authors. + + Fills rectangles + + + + + + + + + @@ -1662,7 +4317,7 @@ authorization from the authors. - + @@ -1677,7 +4332,7 @@ authorization from the authors. - + @@ -1724,6 +4379,52 @@ authorization from the authors. string_len + + Draws text + + + + + + + + + + + + @@ -1735,6 +4436,53 @@ authorization from the authors. string_len + + Draws text + + + + + + + + + + + + @@ -1743,7 +4491,7 @@ authorization from the authors. - + @@ -1798,6 +4546,31 @@ authorization from the authors. + + Allocate a color + + + + + + + @@ -1878,7 +4651,7 @@ authorization from the authors. - + @@ -1889,7 +4662,7 @@ authorization from the authors. - + @@ -1939,11 +4712,15 @@ authorization from the authors. + + 0 + + - + @@ -1954,11 +4731,15 @@ authorization from the authors. + + 0 + + - + @@ -1967,11 +4748,82 @@ authorization from the authors. + + create cursor + + + + + + + + + + + + + + + + + + + Deletes a cursor + + + + + @@ -1992,7 +4844,7 @@ authorization from the authors. - + @@ -2006,6 +4858,7 @@ authorization from the authors. + name_len @@ -2015,7 +4868,44 @@ authorization from the authors. + + + + + + + + check if extension is present + + + + + + @@ -2032,6 +4922,7 @@ authorization from the authors. + keycode_count @@ -2084,7 +4975,7 @@ authorization from the authors. - + @@ -2137,8 +5028,8 @@ authorization from the authors. - - + + @@ -2146,8 +5037,8 @@ authorization from the authors. - - + + @@ -2167,17 +5058,17 @@ authorization from the authors. - - + + - + address_len - + @@ -2187,7 +5078,7 @@ authorization from the authors. - + @@ -2202,7 +5093,7 @@ authorization from the authors. - + @@ -2212,7 +5103,7 @@ authorization from the authors. - + @@ -2221,7 +5112,25 @@ authorization from the authors. - + + + kills a client + + + + + + @@ -2240,7 +5149,7 @@ authorization from the authors. - + @@ -2256,7 +5165,7 @@ authorization from the authors. map_len - + @@ -2290,7 +5199,7 @@ authorization from the authors. - +