mirror of
https://github.com/vale981/bspwm
synced 2025-03-06 02:01:42 -05:00
Remove unused function
This commit is contained in:
parent
8821c69527
commit
939530c9bd
2 changed files with 0 additions and 12 deletions
11
window.c
11
window.c
|
@ -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};
|
||||
|
|
1
window.h
1
window.h
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue