Remove unused function

This commit is contained in:
Bastien Dejean 2015-06-09 20:56:05 +02:00
parent 8821c69527
commit 939530c9bd
2 changed files with 0 additions and 12 deletions

View file

@ -600,17 +600,6 @@ void query_pointer(xcb_window_t *win, xcb_point_t *pt)
}
}
bool window_focus(xcb_window_t win)
{
coordinates_t loc;
if (locate_window(win, &loc)) {
if (loc.node != mon->desk->focus)
focus_node(loc.monitor, loc.desktop, loc.node);
return true;
}
return false;
}
void window_border_width(xcb_window_t win, uint32_t bw)
{
uint32_t values[] = {bw};

View file

@ -58,7 +58,6 @@ void restrain_floating_width(client_t *c, int *width);
void restrain_floating_height(client_t *c, int *height);
void restrain_floating_size(client_t *c, int *width, int *height);
void query_pointer(xcb_window_t *win, xcb_point_t *pt);
bool window_focus(xcb_window_t win);
void window_border_width(xcb_window_t win, uint32_t bw);
void window_move(xcb_window_t win, int16_t x, int16_t y);
void window_resize(xcb_window_t win, uint16_t w, uint16_t h);