[Xcb-commit] tutorial

XCB site xcb at freedesktop.org
Wed Jul 8 12:15:05 PDT 2009


 tutorial/events.mdwn |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit d7eb63944383cfc63737cfb3bac000f42d0686be
Author: ukleinek <ukleinek at web>
Date:   Wed Jul 8 12:15:01 2009 -0700

    fix a few typos

diff --git a/tutorial/events.mdwn b/tutorial/events.mdwn
index 8d50e5d..16099e9 100644
--- a/tutorial/events.mdwn
+++ b/tutorial/events.mdwn
@@ -61,7 +61,7 @@ If the window has already been created, we can use the xcb\_configure\_window()
 
         xcb_configure_window (connection, window, XCB_CW_EVENT_MASK, values);
 
-Note: A common programmer oversight is adding code to handle new event types while forgetting to add the masks for these events in the creation of the window. This leads to programmers debugging for hours, wondering "Why doesn't my program notice that I released the button?", only to find that they reigstered button press events but not button release events.
+Note: A common programmer oversight is adding code to handle new event types while forgetting to add the masks for these events in the creation of the window. This leads to programmers debugging for hours, wondering "Why doesn't my program notice that I released the button?", only to find that they registered button press events but not button release events.
    
 ### 2. Receiving events: writing the events loop
 
@@ -79,7 +79,7 @@ The non-blocking way:
 		
 ...immediately dequeus and returns an event, but returns NULL if no event is available at the time of the call. If an error occurs, the parameter error will be filled with the error status.
 
-Here's how you might use xcb_wait_for_event:
+Here's how you might use xcb\_wait\_for\_event:
 
 		xcb_generic_event_t *event;
 


More information about the xcb-commit mailing list