mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Add an option to move the status line to the top of the screen,
requested by many.
This commit is contained in:
		
							
								
								
									
										4
									
								
								layout.c
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								layout.c
									
									
									
									
									
								
							@@ -502,14 +502,14 @@ layout_resize_pane_mouse(struct client *c, struct mouse_event *mouse)
 | 
			
		||||
				wp->yoff <= 1 + c->last_mouse.y &&
 | 
			
		||||
				wp->yoff + wp->sy >= c->last_mouse.y) {
 | 
			
		||||
				layout_resize_pane(wp, LAYOUT_LEFTRIGHT,
 | 
			
		||||
								   mouse->x - c->last_mouse.x);
 | 
			
		||||
				    mouse->x - c->last_mouse.x);
 | 
			
		||||
				pane_border = 1;
 | 
			
		||||
			}
 | 
			
		||||
			if (wp->yoff + wp->sy == c->last_mouse.y &&
 | 
			
		||||
				wp->xoff <= 1 + c->last_mouse.x &&
 | 
			
		||||
				wp->xoff + wp->sx >= c->last_mouse.x) {
 | 
			
		||||
				layout_resize_pane(wp, LAYOUT_TOPBOTTOM,
 | 
			
		||||
								   mouse->y - c->last_mouse.y);
 | 
			
		||||
				    mouse->y - c->last_mouse.y);
 | 
			
		||||
				pane_border = 1;
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user