Remove non used function get_mouse_pos
This commit is contained in:
parent
77e458048d
commit
d0058146dd
14
src/util.c
14
src/util.c
@ -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
|
||||
|
||||
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user