mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	implement "focused container" feature for swaygrab
This commit is contained in:
		
							parent
							
								
									043640820f
								
							
						
					
					
						commit
						0516dba3f6
					
				
					 6 changed files with 221 additions and 48 deletions
				
			
		| 
						 | 
				
			
			@ -169,7 +169,6 @@ static void ipc_json_describe_view(swayc_t *c, json_object *object) {
 | 
			
		|||
	json_object_object_add(object, "percent", (percent > 0) ? json_object_new_double(percent) : NULL);
 | 
			
		||||
	// TODO: make urgency actually work once Sway supports it
 | 
			
		||||
	json_object_object_add(object, "urgent", json_object_new_boolean(false));
 | 
			
		||||
 | 
			
		||||
	json_object_object_add(object, "layout",
 | 
			
		||||
		(strcmp(layout, "null") == 0) ? NULL : json_object_new_string(layout));
 | 
			
		||||
	json_object_object_add(object, "last_split_layout",
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue