Only call put_status when needed

This commit is contained in:
Bastien Dejean 2013-04-09 11:37:24 +02:00
parent ad999831e8
commit 3581ba51d8

2
tree.c
View file

@ -455,7 +455,6 @@ void focus_node(monitor_t *m, desktop_t *d, node_t *n, bool is_mapped)
}
ewmh_update_active_window();
put_status();
}
void update_current(void)
@ -464,7 +463,6 @@ void update_current(void)
ewmh_update_active_window();
else
focus_node(mon, mon->desk, mon->desk->focus, true);
put_status();
}
void unlink_node(desktop_t *d, node_t *n)