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

Ran Benita ran234 at gmail.com
Mon Sep 21 13:24:24 PDT 2015


There are a few more, you should fix all of them, then feel free to
add my Reviewed-By: Ran Benita <ran234 at gmail.com>:

    $ git grep xcb_connection[^_] src/xproto.xml
    src/xproto.xml:void my_example(xcb_connection *c, xcb_window_t window) {
    src/xproto.xml:void my_example(xcb_connection *c, xcb_window_t window) {
    src/xproto.xml:void my_example(xcb_connection *conn, xcb_window_t window) {
    src/xproto.xml:void my_example(xcb_connection *c) {
    src/xproto.xml:void my_example(xcb_connection *conn, xcb_window_t window) {
    src/xproto.xml:void my_example(xcb_connection *c, xcb_window_t window) {
    src/xproto.xml:void my_example(xcb_connection *conn, xcb_screen_t *screen, xcb_cursor_t cursor) {
    src/xproto.xml:void my_example(xcb_connection *conn, xcb_screen_t *screen) {
    src/xproto.xml:void my_example(xcb_connection *conn, xcb_gcontext_t gc, uint32_t fg, uint32_t bg) {
    src/xproto.xml:void my_example(xcb_connection *conn, xcb_drawable_t drawable, xcb_gcontext_t gc) {

On Mon, Sep 21, 2015 at 04:01:38PM +0200, Ingo Bürk wrote:
> ---
>  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
> 
> _______________________________________________
> Xcb mailing list
> Xcb at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xcb


More information about the Xcb mailing list