i3bar: don’t immediately redraw bars after kicking tray clients
This commit is contained in:
parent
abd6f24bf2
commit
3a378f7cb1
|
@ -70,6 +70,8 @@ void got_output_reply(char *reply) {
|
||||||
SLIST_FOREACH(o_walk, outputs, slist) {
|
SLIST_FOREACH(o_walk, outputs, slist) {
|
||||||
kick_tray_clients(o_walk);
|
kick_tray_clients(o_walk);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
draw_bars();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -1124,9 +1124,6 @@ void kick_tray_clients(i3_output *output) {
|
||||||
* event afterwards, but better safe than sorry. */
|
* event afterwards, but better safe than sorry. */
|
||||||
TAILQ_REMOVE(output->trayclients, trayclient, tailq);
|
TAILQ_REMOVE(output->trayclients, trayclient, tailq);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Trigger an update, we now have more space for the statusline */
|
|
||||||
draw_bars();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue