applied the proposal by nsz
This commit is contained in:
		
							parent
							
								
									86c4797f2c
								
							
						
					
					
						commit
						b848f4bda8
					
				
							
								
								
									
										6
									
								
								dwm.c
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								dwm.c
									
									
									
									
									
								
							| @ -241,13 +241,15 @@ Client *stack = NULL; | |||||||
| Cursor cursor[CurLast]; | Cursor cursor[CurLast]; | ||||||
| Display *dpy; | Display *dpy; | ||||||
| DC dc = {0}; | DC dc = {0}; | ||||||
|  | Geom geoms[]; | ||||||
|  | Geom *geom = geoms; | ||||||
|  | Layout layouts[]; | ||||||
|  | Layout *lt = layouts; | ||||||
| Window root, barwin; | Window root, barwin; | ||||||
| 
 | 
 | ||||||
| /* configuration, allows nested code to access above variables */ | /* configuration, allows nested code to access above variables */ | ||||||
| #include "config.h" | #include "config.h" | ||||||
| #define TAGSZ (LENGTH(tags) * sizeof(Bool)) | #define TAGSZ (LENGTH(tags) * sizeof(Bool)) | ||||||
| Layout *lt = layouts; |  | ||||||
| Geom *geom = geoms; |  | ||||||
| 
 | 
 | ||||||
| /* function implementations */ | /* function implementations */ | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Anselm R Garbe
						Anselm R Garbe