mirror of
				https://github.com/labwc/labwc.git
				synced 2025-11-03 09:01:51 -05:00 
			
		
		
		
	Add config option to disable preview outlines
This commit is contained in:
		
							parent
							
								
									33bc37e7d0
								
							
						
					
					
						commit
						c1490b632d
					
				
					 5 changed files with 12 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -388,6 +388,8 @@ entry(xmlNode *node, char *nodename, char *content)
 | 
			
		|||
		rc.snap_top_maximize = get_bool(content);
 | 
			
		||||
	} else if (!strcasecmp(nodename, "cycleViewPreview.core")) {
 | 
			
		||||
		rc.cycle_preview_contents = get_bool(content);
 | 
			
		||||
	} else if (!strcasecmp(nodename, "cycleViewOutlines.core")) {
 | 
			
		||||
		rc.cycle_preview_outlines = get_bool(content);
 | 
			
		||||
	} else if (!strcasecmp(nodename, "name.names.desktops")) {
 | 
			
		||||
		struct workspace *workspace = calloc(1, sizeof(struct workspace));
 | 
			
		||||
		workspace->name = strdup(content);
 | 
			
		||||
| 
						 | 
				
			
			@ -493,6 +495,7 @@ rcxml_init()
 | 
			
		|||
	rc.snap_edge_range = 1;
 | 
			
		||||
	rc.snap_top_maximize = true;
 | 
			
		||||
	rc.cycle_preview_contents = false;
 | 
			
		||||
	rc.cycle_preview_outlines = true;
 | 
			
		||||
	rc.workspace_config.popuptime = INT_MIN;
 | 
			
		||||
	wl_list_init(&rc.workspace_config.workspaces);
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue