From 9d7e8ea931f7547c1031631da07243907c33229a Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Wed, 12 Nov 2008 16:49:15 +0100 Subject: [PATCH] xutil: fix cursor proto Signed-off-by: Julien Danjou --- common/xutil.c | 2 +- common/xutil.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/xutil.c b/common/xutil.c index 296467bb3..64a5300b1 100644 --- a/common/xutil.c +++ b/common/xutil.c @@ -402,7 +402,7 @@ xutil_button_fromint(int button) * \return Allocated cursor font. */ xcb_cursor_t -xutil_cursor_new(xcb_connection_t *conn, unsigned int cursor_font) +xutil_cursor_new(xcb_connection_t *conn, uint16_t cursor_font) { static xcb_font_t font = XCB_NONE; xcb_cursor_t cursor; diff --git a/common/xutil.h b/common/xutil.h index b36cea13f..88374f212 100644 --- a/common/xutil.h +++ b/common/xutil.h @@ -112,7 +112,7 @@ typedef struct bool xutil_error_init(const xcb_generic_error_t *, xutil_error_t *); xcb_keysym_t xutil_key_mask_fromstr(const char *, size_t); unsigned int xutil_button_fromint(int); -xcb_cursor_t xutil_cursor_new(xcb_connection_t *, unsigned int); +xcb_cursor_t xutil_cursor_new(xcb_connection_t *, uint16_t); static inline void xutil_error_wipe(xutil_error_t *err)