mirror of
				https://github.com/labwc/labwc.git
				synced 2025-11-03 09:01:51 -05:00 
			
		
		
		
	focus: add basic follow mouse support
This commit is contained in:
		
							parent
							
								
									892e93dd84
								
							
						
					
					
						commit
						00db22e44f
					
				
					 5 changed files with 40 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -138,6 +138,11 @@ entry(xmlNode *node, char *nodename, char *content)
 | 
			
		|||
		fill_font(nodename, content, font_place);
 | 
			
		||||
	} else if (!strcmp(nodename, "size.font.theme")) {
 | 
			
		||||
		fill_font(nodename, content, font_place);
 | 
			
		||||
	} else if (!strcasecmp(nodename, "FollowMouse.focus")) {
 | 
			
		||||
		rc.focus_follow_mouse = get_bool(content);
 | 
			
		||||
	} else if (!strcasecmp(nodename, "RaisemOnFocus.focus")) {
 | 
			
		||||
		rc.focus_follow_mouse = true;
 | 
			
		||||
		rc.raise_on_focus = get_bool(content);
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue