mirror of
				https://codeberg.org/dwl/dwl.git
				synced 2025-11-03 09:01:45 -05:00 
			
		
		
		
	add tag bitset check from dwm
This commit is contained in:
		
							parent
							
								
									4e57dbd922
								
							
						
					
					
						commit
						50aa44c59b
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		
							
								
								
									
										3
									
								
								dwl.c
									
										
									
									
									
								
							
							
						
						
									
										3
									
								
								dwl.c
									
										
									
									
									
								
							| 
						 | 
					@ -274,6 +274,9 @@ static struct wl_listener xwayland_ready = {.notify = xwaylandready};
 | 
				
			||||||
/* configuration, allows nested code to access above variables */
 | 
					/* configuration, allows nested code to access above variables */
 | 
				
			||||||
#include "config.h"
 | 
					#include "config.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					/* compile-time check if all tags fit into an unsigned int bit array. */
 | 
				
			||||||
 | 
					struct NumTags { char limitexceeded[LENGTH(tags) > 31 ? -1 : 1]; };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* function implementations */
 | 
					/* function implementations */
 | 
				
			||||||
void
 | 
					void
 | 
				
			||||||
activatex11(struct wl_listener *listener, void *data)
 | 
					activatex11(struct wl_listener *listener, void *data)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue