xutil: fix proto

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2009-04-15 14:05:45 +02:00
parent 5db54fc731
commit efc3cc4c15
2 changed files with 2 additions and 2 deletions

View File

@ -140,7 +140,7 @@ typedef struct
* \param button Mouse button index. * \param button Mouse button index.
* \return Mouse button or 0 if not found. * \return Mouse button or 0 if not found.
*/ */
unsigned int uint8_t
xutil_button_fromint(int button) xutil_button_fromint(int button)
{ {
/** List of button name and corresponding X11 mask codes */ /** List of button name and corresponding X11 mask codes */

View File

@ -39,7 +39,7 @@ void xutil_error_handler_catch_all_set(xcb_event_handlers_t *,
xcb_generic_error_handler_t, void *); xcb_generic_error_handler_t, void *);
uint16_t xutil_key_mask_fromstr(const char *, size_t); uint16_t xutil_key_mask_fromstr(const char *, size_t);
unsigned int xutil_button_fromint(int); uint8_t xutil_button_fromint(int);
/* Get the informations about the screen. /* Get the informations about the screen.
* \param c X connection. * \param c X connection.