mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	rotate-window needs to unzoom, problem reported by Sean Haugh.
This commit is contained in:
		@@ -49,6 +49,8 @@ cmd_rotate_window_exec(struct cmd *self, struct cmdq_item *item)
 | 
				
			|||||||
	struct layout_cell	*lc;
 | 
						struct layout_cell	*lc;
 | 
				
			||||||
	u_int			 sx, sy, xoff, yoff;
 | 
						u_int			 sx, sy, xoff, yoff;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						server_unzoom_window(w);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if (args_has(self->args, 'D')) {
 | 
						if (args_has(self->args, 'D')) {
 | 
				
			||||||
		wp = TAILQ_LAST(&w->panes, window_panes);
 | 
							wp = TAILQ_LAST(&w->panes, window_panes);
 | 
				
			||||||
		TAILQ_REMOVE(&w->panes, wp, entry);
 | 
							TAILQ_REMOVE(&w->panes, wp, entry);
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user