diff --git a/src/util.c b/src/util.c index f6527cf..f3147c1 100644 --- a/src/util.c +++ b/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 diff --git a/src/wmfs.h b/src/wmfs.h index 76106c7..48f325c 100644 --- a/src/wmfs.h +++ b/src/wmfs.h @@ -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);