mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	Fix inline is_auto_layout
This commit is contained in:
		
							parent
							
								
									15745abf0c
								
							
						
					
					
						commit
						c01b898398
					
				
					 2 changed files with 6 additions and 3 deletions
				
			
		| 
						 | 
					@ -75,7 +75,6 @@ void swayc_log(log_importance_t verbosity, swayc_t *cont, const char* format, ..
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
enum swayc_layouts default_layout(swayc_t *output);
 | 
					enum swayc_layouts default_layout(swayc_t *output);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
inline bool is_auto_layout(enum swayc_layouts layout) {
 | 
					bool is_auto_layout(enum swayc_layouts layout);
 | 
				
			||||||
	return (layout >= L_AUTO_FIRST) && (layout <= L_AUTO_LAST);
 | 
					
 | 
				
			||||||
}
 | 
					 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1487,3 +1487,7 @@ enum swayc_layouts default_layout(swayc_t *output) {
 | 
				
			||||||
		return L_VERT;
 | 
							return L_VERT;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					bool is_auto_layout(enum swayc_layouts layout) {
 | 
				
			||||||
 | 
						return (layout >= L_AUTO_FIRST) && (layout <= L_AUTO_LAST);
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue