$OpenBSD: patch-src_floating_c,v 1.1 2011/01/05 12:45:04 dcoppa Exp $
--- src/floating.c.orig	Wed Jan  5 13:03:09 2011
+++ src/floating.c	Wed Jan  5 13:03:48 2011
@@ -379,7 +379,6 @@ void floating_resize_window(xcb_connection_t *conn, Cl
  */
 void drag_pointer(xcb_connection_t *conn, Client *client, xcb_button_press_event_t *event,
                   xcb_window_t confine_to, border_t border, callback_t callback, void *extra) {
-        xcb_window_t root = xcb_setup_roots_iterator(xcb_get_setup(conn)).data->root;
         uint32_t new_x, new_y;
         Rect old_rect;
         if (client != NULL)
