mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	More diff-to-OpenBSD reduction. Move a lot of compat stuff into compat.h.
This commit is contained in:
		
							
								
								
									
										20
									
								
								window.c
									
									
									
									
									
								
							
							
						
						
									
										20
									
								
								window.c
									
									
									
									
									
								
							@@ -1,4 +1,4 @@
 | 
			
		||||
/* $Id: window.c,v 1.84 2009-06-25 16:21:32 nicm Exp $ */
 | 
			
		||||
/* $Id: window.c,v 1.85 2009-06-25 16:47:00 nicm Exp $ */
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
 | 
			
		||||
@@ -31,22 +31,6 @@
 | 
			
		||||
 | 
			
		||||
#include "tmux.h"
 | 
			
		||||
 | 
			
		||||
#ifdef HAVE_PATHS_H
 | 
			
		||||
#include <paths.h>
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifdef HAVE_FORKPTY
 | 
			
		||||
#ifdef HAVE_LIBUTIL_H
 | 
			
		||||
#include <libutil.h>
 | 
			
		||||
#endif
 | 
			
		||||
#ifdef HAVE_PTY_H
 | 
			
		||||
#include <pty.h>
 | 
			
		||||
#endif
 | 
			
		||||
#ifdef HAVE_UTIL_H
 | 
			
		||||
#include <util.h>
 | 
			
		||||
#endif
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 * Each window is attached to one or two panes, each of which is a pty. This
 | 
			
		||||
 * file contains code to handle them.
 | 
			
		||||
@@ -586,7 +570,7 @@ window_pane_mouse(
 | 
			
		||||
	} else
 | 
			
		||||
		input_mouse(wp, b, x, y);
 | 
			
		||||
}
 | 
			
		||||
	
 | 
			
		||||
 | 
			
		||||
char *
 | 
			
		||||
window_pane_search(struct window_pane *wp, const char *searchstr, u_int *lineno)
 | 
			
		||||
{
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user