mirror of
				https://github.com/labwc/labwc.git
				synced 2025-11-03 09:01:51 -05:00 
			
		
		
		
	output: set 'labwc' as app_id and title for nested outputs
This commit is contained in:
		
							parent
							
								
									33820c2ad1
								
							
						
					
					
						commit
						497d3d8e05
					
				
					 1 changed files with 7 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -323,6 +323,13 @@ new_output_notify(struct wl_listener *listener, void *data)
 | 
			
		|||
		}
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	if (wlr_output_is_wl(wlr_output)) {
 | 
			
		||||
		char title[64];
 | 
			
		||||
		snprintf(title, sizeof(title), "%s - %s", "labwc", wlr_output->name);
 | 
			
		||||
		wlr_wl_output_set_title(wlr_output, title);
 | 
			
		||||
		wlr_wl_output_set_app_id(wlr_output, "labwc");
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	/*
 | 
			
		||||
	 * We offer any display as available for lease, some apps like
 | 
			
		||||
	 * gamescope want to take ownership of a display when they can
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue