[Xcb-commit] tutorial

XCB site xcb at freedesktop.org
Wed Aug 4 21:45:19 PDT 2010


 tutorial/events.mdwn |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 8f85751325345dda6fb7f63bcb3b5f5669a04200
Author: EamonWalsh <EamonWalsh at web>
Date:   Wed Aug 4 21:45:18 2010 -0700

    fdo bug 29392: Tutorial uses wrong function

diff --git a/tutorial/events.mdwn b/tutorial/events.mdwn
index 1201d50..38e906d 100644
--- a/tutorial/events.mdwn
+++ b/tutorial/events.mdwn
@@ -55,7 +55,7 @@ Note: we must be careful when setting the values of the valwin parameter, as the
 		valwin[1] = XCB_EVENT_MASK_EXPOSURE | XCB_EVENT_MASK_BUTTON_PRESS;  /* for XCB_CW_EVENT_MASK, whose value (2048)     */
 																			/* is greater than the one of XCB_CW_BACK_PIXMAP */
 
-If the window has already been created, we can use the xcb\_configure\_window() 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 configures the window to receive the Expose and ButtonPress events:
+If the window has already been created, we can use the 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 configures the window to receive the Expose and ButtonPress events:
 
         const static uint32_t values[] = { XCB_EVENT_MASK_EXPOSURE | XCB_EVENT_MASK_BUTTON_PRESS };
 


More information about the xcb-commit mailing list