mouse: export mouse_query_pointer()

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-11-13 16:08:14 +01:00
parent d61c6f5ae9
commit ffca477d5d
2 changed files with 3 additions and 1 deletions

View File

@ -308,7 +308,7 @@ mouse_infobox_new(simple_window_t *sw, int phys_screen, int border, area_t geome
* \param mask will be set to the current buttons state * \param mask will be set to the current buttons state
* \return true on success, false if an error occured * \return true on success, false if an error occured
**/ **/
static bool bool
mouse_query_pointer(xcb_window_t window, int *x, int *y, uint16_t *mask) mouse_query_pointer(xcb_window_t window, int *x, int *y, uint16_t *mask)
{ {
xcb_query_pointer_cookie_t query_ptr_c; xcb_query_pointer_cookie_t query_ptr_c;

View File

@ -41,6 +41,8 @@ struct button_t
void button_delete(button_t **); void button_delete(button_t **);
bool mouse_query_pointer(xcb_window_t, int *, int *, uint16_t *);
DO_RCNT(button_t, button, button_delete) DO_RCNT(button_t, button, button_delete)
ARRAY_FUNCS(button_t *, button, button_unref) ARRAY_FUNCS(button_t *, button, button_unref)