mirror of
				https://github.com/labwc/labwc.git
				synced 2025-11-03 09:01:51 -05:00 
			
		
		
		
	window-rules: support title criteria
Example config:
    <windowRules>
      <windowRule identifier="foot" title="max">
        <action name="Maximize"/>
      </windowRule>
    </windowRules>
Observe that:
- `foot -T foo` starts maximized
- `xterm -T foo` starts normal
			
			
This commit is contained in:
		
							parent
							
								
									63db731cf4
								
							
						
					
					
						commit
						d37e705548
					
				
					 5 changed files with 90 additions and 30 deletions
				
			
		| 
						 | 
				
			
			@ -20,6 +20,7 @@ enum property {
 | 
			
		|||
 */
 | 
			
		||||
struct window_rule {
 | 
			
		||||
	char *identifier;
 | 
			
		||||
	char *title;
 | 
			
		||||
 | 
			
		||||
	enum window_rule_event event;
 | 
			
		||||
	struct wl_list actions;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue