Remove non used function get_mouse_pos

This commit is contained in:
Philippe Pepiot 2010-12-03 12:36:51 +01:00
parent 77e458048d
commit d0058146dd
2 changed files with 0 additions and 15 deletions

View File

@ -248,20 +248,6 @@ alias_to_str(char *conf_choice)
}
/* }}} */
/** Get the mouse pointer position.
*/
XRectangle
get_mouse_pos(void)
{
Window dum;
int d, u;
XRectangle ret;
XQueryPointer(dpy, ROOT, &dum, &dum, (int*)&ret.x, (int*)&ret.y, &d, &d, (uint *)&u);
return ret;
}
/** Execute a sh command
* \param cmd Command
* \return child pid

View File

@ -308,7 +308,6 @@ uint char_to_button(char *name, name_to_uint_t blist[]);
Layout layout_name_to_struct(Layout lt[], char *name, int n, const func_name_list_t llist[]);
char* alias_to_str(char *conf_choice);
/* }}} */
XRectangle get_mouse_pos(void);
char *char_to_str(const char c);
int spawn(const char *str, ...);
void swap_ptr(void **x, void **y);