mirror of
				https://github.com/labwc/labwc.git
				synced 2025-11-03 09:01:51 -05:00 
			
		
		
		
	src/main.c: read themerc specified by rc.xml
This commit is contained in:
		
							parent
							
								
									c38b3ec770
								
							
						
					
					
						commit
						d7d838d682
					
				
					 4 changed files with 11 additions and 7 deletions
				
			
		| 
						 | 
				
			
			@ -8,7 +8,7 @@ struct rcxml rc = { 0 };
 | 
			
		|||
struct theme theme = { 0 };
 | 
			
		||||
 | 
			
		||||
static const char labwc_usage[] =
 | 
			
		||||
"Usage: labwc [-h] [-s <startup-command>] [-c <config-file>]\n";
 | 
			
		||||
	"Usage: labwc [-h] [-s <startup-command>] [-c <config-file>]\n";
 | 
			
		||||
 | 
			
		||||
static void usage(void)
 | 
			
		||||
{
 | 
			
		||||
| 
						 | 
				
			
			@ -51,7 +51,7 @@ int main(int argc, char *argv[])
 | 
			
		|||
	server_init(&server);
 | 
			
		||||
	server_start(&server);
 | 
			
		||||
 | 
			
		||||
	theme_read("data/themerc");
 | 
			
		||||
	theme_read(rc.theme_name);
 | 
			
		||||
	xbm_load(server.renderer);
 | 
			
		||||
 | 
			
		||||
	if (startup_cmd)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue