mirror of
https://github.com/vale981/bspwm
synced 2025-03-06 02:01:42 -05:00
Make the remote code adhere to the coding style
This commit is contained in:
parent
a7d7ea456b
commit
36f30a7c3f
1 changed files with 9 additions and 10 deletions
19
tree.c
19
tree.c
|
@ -429,17 +429,16 @@ void focus_node(monitor_t *m, desktop_t *d, node_t *n, bool is_mapped)
|
|||
n->client->urgent = false;
|
||||
|
||||
if (is_mapped) {
|
||||
if (mon != m || d->focus != n) {
|
||||
/* Honour active_border_color setting. */
|
||||
window_draw_border(mon->desk->focus, true, false);
|
||||
window_draw_border(d->focus, m != mon, m == mon);
|
||||
window_draw_border(n, true, true);
|
||||
}
|
||||
|
||||
if (focus_follows_mouse)
|
||||
if (mon != m || d->focus != n) {
|
||||
/* honour active_border_color setting */
|
||||
window_draw_border(mon->desk->focus, true, false);
|
||||
window_draw_border(d->focus, m != mon, m == mon);
|
||||
window_draw_border(n, true, true);
|
||||
}
|
||||
if (focus_follows_mouse)
|
||||
get_pointer_position(&pointer_position);
|
||||
xcb_set_input_focus(dpy, XCB_INPUT_FOCUS_POINTER_ROOT, n->client->window, XCB_CURRENT_TIME);
|
||||
}
|
||||
xcb_set_input_focus(dpy, XCB_INPUT_FOCUS_POINTER_ROOT, n->client->window, XCB_CURRENT_TIME);
|
||||
}
|
||||
|
||||
if (!is_tiled(n->client)) {
|
||||
if (!adaptative_raise || !might_cover(d, n))
|
||||
|
|
Loading…
Add table
Reference in a new issue