From dd1a4dbe20d6b5fd33aeb65e662bb2ca18665518 Mon Sep 17 00:00:00 2001 From: Eamon Walsh Date: Thu, 5 Aug 2010 00:48:08 -0400 Subject: [PATCH] Tutorial uses wrong function. https://bugs.freedesktop.org/show_bug.cgi?id=29392 Signed-off-by: Eamon Walsh --- doc/tutorial/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/tutorial/index.html b/doc/tutorial/index.html index aa3ae17..adec0ac 100644 --- a/doc/tutorial/index.html +++ b/doc/tutorial/index.html @@ -1453,7 +1453,7 @@ typedef enum {

If the window has already been created, we can use the - xcb_configure_window() function to set + xcb_change_window_attributes() function to set the events that the window will receive. The subsection Configuring a window 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);

-- 2.34.1