xutil: fix cursor proto
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
beabf82ddf
commit
9d7e8ea931
|
@ -402,7 +402,7 @@ xutil_button_fromint(int button)
|
||||||
* \return Allocated cursor font.
|
* \return Allocated cursor font.
|
||||||
*/
|
*/
|
||||||
xcb_cursor_t
|
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;
|
static xcb_font_t font = XCB_NONE;
|
||||||
xcb_cursor_t cursor;
|
xcb_cursor_t cursor;
|
||||||
|
|
|
@ -112,7 +112,7 @@ typedef struct
|
||||||
bool xutil_error_init(const xcb_generic_error_t *, xutil_error_t *);
|
bool xutil_error_init(const xcb_generic_error_t *, xutil_error_t *);
|
||||||
xcb_keysym_t xutil_key_mask_fromstr(const char *, size_t);
|
xcb_keysym_t xutil_key_mask_fromstr(const char *, size_t);
|
||||||
unsigned int xutil_button_fromint(int);
|
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
|
static inline void
|
||||||
xutil_error_wipe(xutil_error_t *err)
|
xutil_error_wipe(xutil_error_t *err)
|
||||||
|
|
Loading…
Reference in New Issue