mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 05:21:10 +00:00
Don't allow locked or suspended clients to limit the size of active clients.
This commit is contained in:
4
server.c
4
server.c
@ -1194,8 +1194,10 @@ server_second_timers(void)
|
||||
t = time(NULL);
|
||||
|
||||
xtimeout = options_get_number(&global_s_options, "lock-after-time");
|
||||
if (xtimeout > 0 && t > server_activity + xtimeout)
|
||||
if (xtimeout > 0 && t > server_activity + xtimeout) {
|
||||
server_lock();
|
||||
recalculate_sizes();
|
||||
}
|
||||
|
||||
for (i = 0; i < ARRAY_LENGTH(&windows); i++) {
|
||||
w = ARRAY_ITEM(&windows, i);
|
||||
|
Reference in New Issue
Block a user