]> git.lizzy.rs Git - bspwm.git/blobdiff - helpers.c
Update TODO
[bspwm.git] / helpers.c
index 8813e2f0cfd23e244b7a7b5a91f9247115ac99a8..28bed8e500a4382fd96654daaf5115097651808b 100644 (file)
--- a/helpers.c
+++ b/helpers.c
@@ -51,12 +51,3 @@ uint32_t get_color(char *col)
 
     return pxl;
 }
-
-void get_pointer_position(xcb_point_t *pos)
-{
-    xcb_query_pointer_reply_t *qpr = xcb_query_pointer_reply(dpy, xcb_query_pointer(dpy, screen->root), NULL);
-    if (qpr != NULL) {
-        *pos = (xcb_point_t) {qpr->root_x, qpr->root_y};
-        free(qpr);
-    }
-}