mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	After unlock, Update activity time after recalculate_sizes() so that the
session attached flag is correct.
This commit is contained in:
		@@ -1090,12 +1090,13 @@ server_client_dispatch(struct imsg *imsg, void *arg)
 | 
			
		||||
 | 
			
		||||
		if (gettimeofday(&c->activity_time, NULL) != 0)
 | 
			
		||||
			fatal("gettimeofday failed");
 | 
			
		||||
		if (s != NULL)
 | 
			
		||||
			session_update_activity(s, &c->activity_time);
 | 
			
		||||
 | 
			
		||||
		tty_start_tty(&c->tty);
 | 
			
		||||
		server_redraw_client(c);
 | 
			
		||||
		recalculate_sizes();
 | 
			
		||||
 | 
			
		||||
		if (s != NULL)
 | 
			
		||||
			session_update_activity(s, &c->activity_time);
 | 
			
		||||
		break;
 | 
			
		||||
	case MSG_SHELL:
 | 
			
		||||
		if (datalen != 0)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user