X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fxproto.xml;h=bf4dcbf0f2480df7fc3d574d604376c489d5590e;hb=e6a246e50e62cbcba33d0e1d2371e69e6e089383;hp=f54c63b26ae465817d3824fc9698cd8ebc4374e0;hpb=12a2b2bf7492d292c9f8e2b2abb3be1dc3e98ab1;p=free-sw%2Fxcb%2Fproto diff --git a/src/xproto.xml b/src/xproto.xml index f54c63b..bf4dcbf 100644 --- a/src/xproto.xml +++ b/src/xproto.xml @@ -127,6 +127,41 @@ 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 + + @@ -236,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 @@ -243,14 +299,52 @@ authorization from the authors. - + - + + + a key was pressed/released + + + + + + + + + + + + @@ -269,14 +363,52 @@ authorization from the authors. - + - + + + a mouse button was pressed/released + + + + + + + + + + + + @@ -288,18 +420,56 @@ authorization from the authors. - + - + - + + + a key was pressed + + + + + + + + + + + + @@ -321,27 +491,65 @@ authorization from the authors. - + - + - - + + + + the pointer is in a different window + + + + + + + + + - + - + + + NOT YET DOCUMENTED + + + + + @@ -359,6 +567,32 @@ authorization from the authors. + + NOT YET DOCUMENTED + + + + + + + @@ -391,7 +625,7 @@ authorization from the authors. - + @@ -412,6 +646,17 @@ authorization from the authors. + + a window is destroyed + + + + @@ -420,6 +665,21 @@ authorization from the authors. + + a window is unmapped + + + + + @@ -428,12 +688,36 @@ authorization from the authors. + + a window was mapped + + + + + + + window wants to be mapped + + + + @@ -451,7 +735,7 @@ authorization from the authors. - + @@ -459,19 +743,55 @@ authorization from the authors. + + NOT YET DOCUMENTED + + + + + + + + + + + - + - + - + @@ -492,6 +812,14 @@ authorization from the authors. 0 1 + + + + @@ -499,8 +827,21 @@ authorization from the authors. - + + + NOT YET DOCUMENTED + + + + + + @@ -515,8 +856,23 @@ authorization from the authors. - + + + a window property changed + + + + + + + @@ -526,37 +882,142 @@ authorization from the authors. + + 0 + + + + 0 + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - + - + 0 1 + + + + + + + + 0 - + - + + + the colormap for some window changed + + + + + + + @@ -572,6 +1033,26 @@ authorization from the authors. + + NOT YET DOCUMENTED + + + + + + @@ -582,10 +1063,21 @@ authorization from the authors. - + + + keyboard mapping changed + + + + + @@ -654,6 +1146,106 @@ authorization from the authors. 12 13 14 + + + + + + + + + + + + + + + + + @@ -676,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 - - @@ -726,6 +1282,79 @@ authorization from the authors. + + Creates a window + + + + + + + + + + + + + + + + + + + + + + + @@ -734,6 +1363,43 @@ authorization from the authors. + + change window attributes + + + + + + + + + + + + + @@ -749,25 +1415,92 @@ authorization from the authors. - - + + - + + + + + + + + + + + + + + + + + + + + Gets window attributes + + + + + + + + Destroys a window + + + + + + + @@ -783,6 +1516,28 @@ authorization from the authors. + + Changes a client's save set + + + + + + + + @@ -791,11 +1546,78 @@ authorization from the authors. + + Reparents a window + + + + + + + + + + + + + Makes a window visible + + + + + + + @@ -806,6 +1628,25 @@ authorization from the authors. + + Makes a window invisible + + + + + + + @@ -834,10 +1675,60 @@ authorization from the authors. + + + + Configures window attributes + + + + + + + + + + + @@ -848,6 +1739,27 @@ authorization from the authors. + + Change window stacking order + + + + + + + @@ -862,7 +1774,67 @@ authorization from the authors. + + + + + + + + + + + Get current window geometry + + x, reply->y); + } + free(reply); +} + ]]> + + + + + @@ -871,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); + } +} + ]]> + + + @@ -889,8 +1905,55 @@ authorization from the authors. - + + + Get atom identifier by name + + atom); + free(reply); + } +} + ]]> + + + + + + + + + @@ -910,6 +1973,21 @@ authorization from the authors. 0 1 2 + + + + + @@ -929,6 +2007,71 @@ authorization from the authors. 8 + + Changes a window property + + + + + + + + + + + + + + + + + + @@ -945,7 +2088,7 @@ authorization from the authors. - + @@ -955,9 +2098,110 @@ authorization from the authors. - value_len + + value_len + + format + 8 + + + + + + + + + + Gets a window property + + + + + + + + + + + + + + @@ -975,9 +2219,41 @@ authorization from the authors. - + - + + + Sets the owner of a selection + + + + + + + + @@ -985,8 +2261,28 @@ authorization from the authors. - + + + + + + Gets the owner of a selection + + + + + @@ -994,8 +2290,8 @@ authorization from the authors. - - + + @@ -1005,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 + + + + @@ -1023,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 + + + + + + + + + @@ -1049,6 +2542,26 @@ authorization from the authors. 3 4 5 + + + + + + + + @@ -1057,24 +2570,110 @@ authorization from the authors. - - + + - + + + Grab pointer button(s) + + + + + + + + + + + + + + + + - + - - + + @@ -1082,18 +2681,82 @@ 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); + } +} + ]]> + + + + + + + + + + - + @@ -1104,18 +2767,119 @@ authorization from the authors. - - + + + + Grab keyboard key(s) + + + + + + + + + + + + + + - + - + + + release a key combination + + + + + + + + + @@ -1127,11 +2891,106 @@ authorization from the authors. 5 6 7 + + + + + + + + + + - + + + release queued events + + + + + + @@ -1144,14 +3003,63 @@ authorization from the authors. - + - + + + + + + + + + + + + + get pointer coordinates + + + + @@ -1163,8 +3071,8 @@ authorization from the authors. - - + + @@ -1183,22 +3091,54 @@ authorization from the authors. - - - + + + - - + + + + move mouse pointer + + + + + + @@ -1206,18 +3146,78 @@ authorization from the authors. 0 1 2 + 3 + + + + + + - - + + + + Sets input focus + + + + + + + + + + + - + @@ -1236,6 +3236,28 @@ authorization from the authors. name_len + + opens a font + + + + + + + @@ -1288,7 +3310,48 @@ authorization from the authors. char_infos_len + + + + + + + + + + + + + + + query font metrics + + + + @@ -1307,6 +3370,47 @@ authorization from the authors. + + get text extents + + + + + + + @@ -1330,7 +3434,31 @@ authorization from the authors. names_len + + + + + get matching font names + + + + + @@ -1363,13 +3491,75 @@ authorization from the authors. name_len + + + + + + + + + + + + + + + + + get matching font names and information + + + + + + - + + + font_qty + @@ -1389,11 +3579,55 @@ authorization from the authors. + + Creates a pixmap + + + + + + + + + + + + + Destroys a pixmap + + + + @@ -1420,6 +3654,154 @@ authorization from the authors. 20 21 22 + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1456,7 +3838,7 @@ authorization from the authors. - 0 + 0 1 2 @@ -1490,6 +3872,39 @@ authorization from the authors. + + Creates a graphics context + + + + + + + + + + + @@ -1498,13 +3913,69 @@ authorization from the authors. + + change graphics context components + + + + + + + + + + + + + - + @@ -1535,6 +4006,16 @@ authorization from the authors. + + Destroys a graphics context + + + + @@ -1557,6 +4038,48 @@ authorization from the authors. + + copy areas + + + + + + + + + + + + + + @@ -1576,6 +4099,14 @@ authorization from the authors. 0 1 + + + + @@ -1591,6 +4122,56 @@ authorization from the authors. + + draw lines + + + + + + + + + + + + + @@ -1605,6 +4186,43 @@ authorization from the authors. + + draw lines + + + + + + + + + @@ -1647,6 +4265,42 @@ authorization from the authors. + + Fills rectangles + + + + + + + + + @@ -1725,6 +4379,52 @@ authorization from the authors. string_len + + Draws text + + + + + + + + + + + + @@ -1736,6 +4436,53 @@ authorization from the authors. string_len + + Draws text + + + + + + + + + + + + @@ -1799,6 +4546,31 @@ authorization from the authors. + + Allocate a color + + + + + + + @@ -1879,7 +4651,7 @@ authorization from the authors. - + @@ -1890,7 +4662,7 @@ authorization from the authors. - + @@ -1940,11 +4712,15 @@ authorization from the authors. + + 0 + + - + @@ -1955,11 +4731,15 @@ authorization from the authors. + + 0 + + - + @@ -1968,11 +4748,82 @@ authorization from the authors. + + create cursor + + + + + + + + + + + + + + + + + + + Deletes a cursor + + + + + @@ -2017,7 +4868,44 @@ authorization from the authors. + + + + + + + + check if extension is present + + + + + + @@ -2034,6 +4922,7 @@ authorization from the authors. + keycode_count @@ -2170,10 +5059,10 @@ authorization from the authors. - + - + address_len @@ -2223,7 +5112,25 @@ authorization from the authors. - + + + kills a client + + + + + + @@ -2292,7 +5199,7 @@ authorization from the authors. - +