Xinerama: correct variable declarations in preprocessor conditional
This commit is contained in:
		
				
					committed by
					
						
						Hiltjo Posthuma
					
				
			
			
				
	
			
			
			
						parent
						
							a280bdad1f
						
					
				
				
					commit
					e90b88e12a
				
			
							
								
								
									
										11
									
								
								dmenu.c
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								dmenu.c
									
									
									
									
									
								
							@@ -539,15 +539,16 @@ run(void)
 | 
			
		||||
static void
 | 
			
		||||
setup(void)
 | 
			
		||||
{
 | 
			
		||||
	int x, y;
 | 
			
		||||
	int x, y, i = 0;
 | 
			
		||||
	unsigned int du;
 | 
			
		||||
	XSetWindowAttributes swa;
 | 
			
		||||
	XIM xim;
 | 
			
		||||
	Window w, dw, *dws;
 | 
			
		||||
	XWindowAttributes wa;
 | 
			
		||||
#ifdef XINERAMA
 | 
			
		||||
	XineramaScreenInfo *info;
 | 
			
		||||
	Window w, pw, dw, *dws;
 | 
			
		||||
	XWindowAttributes wa;
 | 
			
		||||
	int a, j, di, n, i = 0, area = 0;
 | 
			
		||||
	unsigned int du;
 | 
			
		||||
	Window pw;
 | 
			
		||||
	int a, j, di, n, area = 0;
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
	/* init appearance */
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user