diff options
author | Michael Stapelberg <michael@stapelberg.de> | 2013-01-12 10:03:19 +0100 |
---|---|---|
committer | Michael Stapelberg <michael@stapelberg.de> | 2013-01-12 10:03:19 +0100 |
commit | 1b10b5c330d3078273238adefa70874bf7982cea (patch) | |
tree | 799052848fdc3bee0bc1f3549802f3af3cf1009b /cursor | |
parent | 744bf0be78761f27c40df55dbb051261ef862682 (diff) |
swap parameter order for xcb_cursor_context_new for consistency with other XCB APIs
Diffstat (limited to 'cursor')
-rw-r--r-- | cursor/cursor.c | 2 | ||||
-rw-r--r-- | cursor/xcb_cursor.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cursor/cursor.c b/cursor/cursor.c index 438b490..8ed4139 100644 --- a/cursor/cursor.c +++ b/cursor/cursor.c @@ -91,7 +91,7 @@ static uint32_t get_default_size(xcb_cursor_context_t *c, xcb_screen_t *screen) return dim / 48; } -int xcb_cursor_context_new(xcb_cursor_context_t **ctx, xcb_connection_t *conn) { +int xcb_cursor_context_new(xcb_connection_t *conn, xcb_cursor_context_t **ctx) { xcb_cursor_context_t *c; xcb_screen_t *screen = NULL; xcb_get_property_cookie_t rm_cookie; diff --git a/cursor/xcb_cursor.h b/cursor/xcb_cursor.h index e64b993..a3c09ae 100644 --- a/cursor/xcb_cursor.h +++ b/cursor/xcb_cursor.h @@ -5,7 +5,7 @@ typedef struct xcb_cursor_context_t xcb_cursor_context_t; -int xcb_cursor_context_new(xcb_cursor_context_t **ctx, xcb_connection_t *conn); +int xcb_cursor_context_new(xcb_connection_t *conn, xcb_cursor_context_t **ctx); xcb_cursor_t xcb_cursor_load_cursor(xcb_cursor_context_t *c, const char *name); |