From f9401b9b9b2982e7c21a4aa188b64181c57ca436 Mon Sep 17 00:00:00 2001 From: Bastien Dejean Date: Mon, 4 Mar 2013 21:13:10 +0100 Subject: [PATCH] Remove obsolete function --- window.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/window.c b/window.c index 13c3019..9bd32e3 100644 --- a/window.c +++ b/window.c @@ -412,15 +412,6 @@ void update_floating_rectangle(client_t *c) } -void save_pointer_position(xcb_point_t *pos) -{ - xcb_query_pointer_reply_t *qpr = xcb_query_pointer_reply(dpy, xcb_query_pointer(dpy, root), NULL); - if (qpr != NULL) { - *pos = (xcb_point_t) {qpr->root_x, qpr->root_y}; - free(qpr); - } -} - void get_pointed_window(xcb_window_t *win) { window_lower(motion_recorder); -- 2.44.0