X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=doc%2Ftutorial%2Findex.html;h=adec0acd3ad2c8ce9c5a8741a4268c06a048f13d;hb=a22909c0f513fe28347c56be65a345831c3ce744;hp=aa3ae1706283381e3106a6dd6592ef4eb141a918;hpb=1e746fd89ae93965183c759b969ff9f4d5dbc9d8;p=free-sw%2Fxcb%2Flibxcb 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);