summaryrefslogtreecommitdiff
path: root/dist/libxcb/doc/tutorial
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2010-09-04 10:01:00 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2010-09-04 10:01:00 +0000
commit63f14a79ad8b0a35bad143095a2b22d9f299a78d (patch)
tree78762a42bef153fbfcdc9c06f31a3b879cb6e51c /dist/libxcb/doc/tutorial
parentae0de1302839aabcc3583f9db40f92b63bed0291 (diff)
Update to libxcb 1.7
Diffstat (limited to 'dist/libxcb/doc/tutorial')
-rw-r--r--dist/libxcb/doc/tutorial/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/dist/libxcb/doc/tutorial/index.html b/dist/libxcb/doc/tutorial/index.html
index aa3ae1706..adec0acd3 100644
--- a/dist/libxcb/doc/tutorial/index.html
+++ b/dist/libxcb/doc/tutorial/index.html
@@ -1453,7 +1453,7 @@ typedef enum {
</pre>
<p>
If the window has already been created, we can use the
- <span class="code">xcb_configure_window()</span> function to set
+ <span class="code">xcb_change_window_attributes()</span> function to set
the events that the window will receive. The subsection
<a href="#winconf">Configuring a window</a> shows its
prototype. As an example, here is a piece of code that
@@ -1466,7 +1466,7 @@ const static uint32_t values[] = { XCB_EVENT_MASK_EXPOSURE | XCB_EVENT_MASK_BUTT
/* The connection c and the window win are supposed to be defined */
-xcb_configure_window (c, win, XCB_CW_EVENT_MASK, values);
+xcb_change_window_attributes (c, win, XCB_CW_EVENT_MASK, values);
</pre>
<div class="emph">
<p>