Fix xcb_grab_pointer example to use xcb_connection_t instead of xcb_connection.

Submitted by Ingo Bürk on Sept. 21, 2015, 2:01 p.m.

Details

Message ID 1442844098-16060-1-git-send-email-ingo.buerk@tngtech.com
State New
Headers show

Not browsing as part of any series.

Commit Message

Ingo Bürk Sept. 21, 2015, 2:01 p.m.
---
 src/xproto.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

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;
 

Comments

There are a few more, you should fix all of them, then feel free to
add my Reviewed-By: Ran Benita <ran234@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@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xcb