mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Ignore windows without a size set (may be used for pane only), from
Anindya Mukherjee.
This commit is contained in:
		
							
								
								
									
										2
									
								
								resize.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								resize.c
									
									
									
									
									
								
							@@ -178,7 +178,7 @@ clients_calculate_size(int type, int current, struct client *c,
 | 
				
			|||||||
			cw = NULL;
 | 
								cw = NULL;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		/* Work out this client's size. */
 | 
							/* Work out this client's size. */
 | 
				
			||||||
		if (cw != NULL) {
 | 
							if (cw != NULL && cw->sx != 0 && cw->sy != 0) {
 | 
				
			||||||
			cx = cw->sx;
 | 
								cx = cw->sx;
 | 
				
			||||||
			cy = cw->sy;
 | 
								cy = cw->sy;
 | 
				
			||||||
		} else {
 | 
							} else {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user