mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 05:21:10 +00:00
Merge branch 'obsd-master'
This commit is contained in:
10
server.c
10
server.c
@ -192,9 +192,17 @@ static int
|
||||
server_loop(void)
|
||||
{
|
||||
struct client *c;
|
||||
u_int items;
|
||||
|
||||
notify_drain();
|
||||
|
||||
do {
|
||||
items = cmdq_next(NULL);
|
||||
TAILQ_FOREACH(c, &clients, entry)
|
||||
items += cmdq_next(c);
|
||||
} while (items != 0);
|
||||
|
||||
server_client_loop();
|
||||
notify_drain();
|
||||
|
||||
if (!options_get_number(global_options, "exit-unattached")) {
|
||||
if (!RB_EMPTY(&sessions))
|
||||
|
Reference in New Issue
Block a user