From ec617f09d07e32d6f57c0da133f53ad3d43a568a Mon Sep 17 00:00:00 2001 From: marha Date: Tue, 27 Mar 2012 17:04:46 +0200 Subject: fontconfig libxcb xcb-proto mesa xserver git update 27 Mar 2012 --- libxcb/xcb-proto/src/xcb.xsd | 689 +++++----- libxcb/xcb-proto/src/xproto.xml | 2796 ++++++++++++++++++++++++++++++++++++++- 2 files changed, 3164 insertions(+), 321 deletions(-) (limited to 'libxcb/xcb-proto/src') diff --git a/libxcb/xcb-proto/src/xcb.xsd b/libxcb/xcb-proto/src/xcb.xsd index 89e27846f..cfa90c9c2 100644 --- a/libxcb/xcb-proto/src/xcb.xsd +++ b/libxcb/xcb-proto/src/xcb.xsd @@ -1,314 +1,375 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/libxcb/xcb-proto/src/xproto.xml b/libxcb/xcb-proto/src/xproto.xml index 42a6852a1..bf4dcbf0f 100644 --- a/libxcb/xcb-proto/src/xproto.xml +++ b/libxcb/xcb-proto/src/xproto.xml @@ -307,6 +307,44 @@ authorization from the authors. + + a key was pressed/released + + + + + + + + + + + + @@ -333,6 +371,44 @@ authorization from the authors. + + a mouse button was pressed/released + + + + + + + + + + + + @@ -356,6 +432,44 @@ authorization from the authors. + + a key was pressed + + + + + + + + + + + + @@ -389,6 +503,34 @@ authorization from the authors. + + the pointer is in a different window + + + + + + + + + @@ -398,6 +540,16 @@ authorization from the authors. + + NOT YET DOCUMENTED + + + + + @@ -415,6 +567,32 @@ authorization from the authors. + + NOT YET DOCUMENTED + + + + + + + @@ -468,6 +646,17 @@ authorization from the authors. + + a window is destroyed + + + + @@ -476,6 +665,21 @@ authorization from the authors. + + a window is unmapped + + + + + @@ -484,12 +688,36 @@ authorization from the authors. + + a window was mapped + + + + + + + window wants to be mapped + + + + @@ -515,6 +743,42 @@ authorization from the authors. + + NOT YET DOCUMENTED + + + + + + + + + + + @@ -548,6 +812,14 @@ authorization from the authors. 0 1 + + + + @@ -557,6 +829,19 @@ authorization from the authors. + + NOT YET DOCUMENTED + + + + + + @@ -573,6 +858,21 @@ authorization from the authors. + + a window property changed + + + + + + + @@ -681,6 +981,14 @@ authorization from the authors. 0 1 + + + + @@ -694,6 +1002,22 @@ authorization from the authors. + + the colormap for some window changed + + + + + + + @@ -709,6 +1033,26 @@ authorization from the authors. + + NOT YET DOCUMENTED + + + + + + @@ -723,6 +1067,17 @@ authorization from the authors. + + keyboard mapping changed + + + + + @@ -791,6 +1146,106 @@ authorization from the authors. 12 13 14 + + + + + + + + + + + + + + + + + @@ -827,6 +1282,79 @@ authorization from the authors. + + Creates a window + + + + + + + + + + + + + + + + + + + + + + + @@ -835,6 +1363,43 @@ authorization from the authors. + + change window attributes + + + + + + + + + + + + + @@ -863,12 +1428,79 @@ authorization from the authors. + + + + + + + + + + + + + + + + + + + Gets window attributes + + + + + + + + Destroys a window + + + + + + + @@ -884,6 +1516,28 @@ authorization from the authors. + + Changes a client's save set + + + + + + + + @@ -892,11 +1546,78 @@ authorization from the authors. + + Reparents a window + + + + + + + + + + + + + Makes a window visible + + + + + + + @@ -907,6 +1628,25 @@ authorization from the authors. + + Makes a window invisible + + + + + + + @@ -940,6 +1680,55 @@ authorization from the authors. + + Configures window attributes + + + + + + + + + + + @@ -950,6 +1739,27 @@ authorization from the authors. + + Change window stacking order + + + + + + + @@ -964,7 +1774,67 @@ authorization from the authors. + + + + + + + + + + + Get current window geometry + + x, reply->y); + } + free(reply); +} + ]]> + + + + + @@ -979,7 +1849,51 @@ 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); + } +} + ]]> + + + @@ -993,6 +1907,53 @@ authorization from the authors. + + Get atom identifier by name + + atom); + free(reply); + } +} + ]]> + + + + + + + + + @@ -1012,6 +1973,21 @@ authorization from the authors. 0 1 2 + + + + + @@ -1031,6 +2007,71 @@ authorization from the authors. 8 + + Changes a window property + + + + + + + + + + + + + + + + + + @@ -1057,15 +2098,110 @@ authorization from the authors. - - value_len - - format - 8 - - + + value_len + + format + 8 + + + + + + + + + + Gets a window property + + + + + + + + + + + + + + @@ -1086,6 +2222,38 @@ authorization from the authors. + + Sets the owner of a selection + + + + + + + + @@ -1094,7 +2262,27 @@ authorization from the authors. + + + + + Gets the owner of a selection + + + + + @@ -1116,11 +2304,97 @@ 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 + + + + @@ -1147,11 +2421,118 @@ authorization from the authors. + + 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 + + + + + + + + + @@ -1161,6 +2542,26 @@ authorization from the authors. 3 4 5 + + + + + + + + @@ -1174,6 +2575,92 @@ authorization from the authors. + + Grab pointer button(s) + + + + + + + + + + + + + + + + @@ -1201,6 +2688,70 @@ 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); + } +} + ]]> + + + + + + + + + + @@ -1221,6 +2772,78 @@ authorization from the authors. + + Grab keyboard key(s) + + + + + + + + + + + + + + @@ -1228,6 +2851,35 @@ authorization from the authors. + + release a key combination + + + + + + + + + @@ -1239,11 +2891,106 @@ authorization from the authors. 5 6 7 + + + + + + + + + + + + release queued events + + + + + + @@ -1263,7 +3010,56 @@ authorization from the authors. + + + + + + + + + + + + get pointer coordinates + + + + @@ -1311,6 +3107,38 @@ authorization from the authors. + + move mouse pointer + + + + + + @@ -1319,12 +3147,71 @@ authorization from the authors. 1 2 3 + + + + + + + + Sets input focus + + + + + + + + + + + @@ -1349,6 +3236,28 @@ authorization from the authors. name_len + + opens a font + + + + + + + @@ -1401,7 +3310,48 @@ authorization from the authors. char_infos_len + + + + + + + + + + + + + + + query font metrics + + + + @@ -1420,6 +3370,47 @@ authorization from the authors. + + get text extents + + + + + + + @@ -1443,7 +3434,31 @@ authorization from the authors. names_len + + + + + get matching font names + + + + + @@ -1476,7 +3491,66 @@ authorization from the authors. name_len + + + + + + + + + + + + + + + + + get matching font names and information + + + + + + @@ -1505,11 +3579,55 @@ authorization from the authors. + + Creates a pixmap + + + + + + + + + + + + + Destroys a pixmap + + + + @@ -1536,6 +3654,154 @@ authorization from the authors. 20 21 22 + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1606,6 +3872,39 @@ authorization from the authors. + + Creates a graphics context + + + + + + + + + + + @@ -1614,6 +3913,62 @@ authorization from the authors. + + change graphics context components + + + + + + + + + + + + + @@ -1651,6 +4006,16 @@ authorization from the authors. + + Destroys a graphics context + + + + @@ -1673,6 +4038,48 @@ authorization from the authors. + + copy areas + + + + + + + + + + + + + + @@ -1692,6 +4099,14 @@ authorization from the authors. 0 1 + + + + @@ -1707,6 +4122,56 @@ authorization from the authors. + + draw lines + + + + + + + + + + + + + @@ -1721,6 +4186,43 @@ authorization from the authors. + + draw lines + + + + + + + + + @@ -1763,6 +4265,42 @@ authorization from the authors. + + Fills rectangles + + + + + + + + + @@ -1841,6 +4379,52 @@ authorization from the authors. string_len + + Draws text + + + + + + + + + + + + @@ -1852,6 +4436,53 @@ authorization from the authors. string_len + + Draws text + + + + + + + + + + + + @@ -1915,6 +4546,31 @@ authorization from the authors. + + Allocate a color + + + + + + + @@ -2092,11 +4748,82 @@ authorization from the authors. + + create cursor + + + + + + + + + + + + + + + + + + + Deletes a cursor + + + + + @@ -2141,7 +4868,44 @@ authorization from the authors. + + + + + + + + check if extension is present + + + + + + @@ -2349,6 +5113,24 @@ authorization from the authors. + + kills a client + + + + + + -- cgit v1.2.3