=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/server.c,v retrieving revision 1.136 retrieving revision 1.137 diff -c -r1.136 -r1.137 *** src/usr.bin/tmux/server.c 2015/08/29 08:30:54 1.136 --- src/usr.bin/tmux/server.c 2015/08/29 08:54:41 1.137 *************** *** 1,4 **** ! /* $OpenBSD: server.c,v 1.136 2015/08/29 08:30:54 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott --- 1,4 ---- ! /* $OpenBSD: server.c,v 1.137 2015/08/29 08:54:41 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott *************** *** 249,261 **** void server_loop(void) { - struct window *w; - while (!server_should_shutdown()) { event_loop(EVLOOP_ONCE); - RB_FOREACH(w, windows, &windows) - check_window_name(w); server_client_loop(); } } --- 249,259 ---- void server_loop(void) { while (!server_should_shutdown()) { + log_debug("event dispatch enter"); event_loop(EVLOOP_ONCE); + log_debug("event dispatch exit"); server_client_loop(); } }