[Xcb] [PATCH] Fix xcb_grab_pointer example to use xcb_connection_t instead of xcb_connection.

Ingo Bürk ingo.buerk at tngtech.com
Mon Sep 21 07:01:38 PDT 2015


---
 src/xproto.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/xproto.xml b/src/xproto.xml
index d50a428..b0a8bd3 100644
--- a/src/xproto.xml
+++ b/src/xproto.xml
@@ -2602,7 +2602,7 @@ Actively grabs control of the pointer. Further pointer events are reported only
  * Grabs the pointer actively
  *
  */
-void my_example(xcb_connection *conn, xcb_screen_t *screen, xcb_cursor_t cursor) {
+void my_example(xcb_connection_t *conn, xcb_screen_t *screen, xcb_cursor_t cursor) {
     xcb_grab_pointer_cookie_t cookie;
     xcb_grab_pointer_reply_t *reply;
 
-- 
2.5.3



More information about the Xcb mailing list