mirror of
				https://github.com/labwc/labwc.git
				synced 2025-11-03 09:01:51 -05:00 
			
		
		
		
	config: change order
More in line with the xml structure.
This commit is contained in:
		
							parent
							
								
									b01d7dbf38
								
							
						
					
					
						commit
						58ee4b7e07
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -863,6 +863,8 @@ entry(xmlNode *node, char *nodename, char *content)
 | 
				
			||||||
		} else {
 | 
							} else {
 | 
				
			||||||
			wlr_log(WLR_ERROR, "Invalid value for <resize popupShow />");
 | 
								wlr_log(WLR_ERROR, "Invalid value for <resize popupShow />");
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 | 
						} else if (!strcasecmp(nodename, "rotate.tablet")) {
 | 
				
			||||||
 | 
							rc.tablet.rotation = tablet_parse_rotation(atoi(content));
 | 
				
			||||||
	} else if (!strcasecmp(nodename, "left.area.tablet")) {
 | 
						} else if (!strcasecmp(nodename, "left.area.tablet")) {
 | 
				
			||||||
		rc.tablet.box.x = tablet_get_dbl_if_positive(content, "left");
 | 
							rc.tablet.box.x = tablet_get_dbl_if_positive(content, "left");
 | 
				
			||||||
	} else if (!strcasecmp(nodename, "top.area.tablet")) {
 | 
						} else if (!strcasecmp(nodename, "top.area.tablet")) {
 | 
				
			||||||
| 
						 | 
					@ -871,8 +873,6 @@ entry(xmlNode *node, char *nodename, char *content)
 | 
				
			||||||
		rc.tablet.box.width = tablet_get_dbl_if_positive(content, "width");
 | 
							rc.tablet.box.width = tablet_get_dbl_if_positive(content, "width");
 | 
				
			||||||
	} else if (!strcasecmp(nodename, "height.area.tablet")) {
 | 
						} else if (!strcasecmp(nodename, "height.area.tablet")) {
 | 
				
			||||||
		rc.tablet.box.height = tablet_get_dbl_if_positive(content, "height");
 | 
							rc.tablet.box.height = tablet_get_dbl_if_positive(content, "height");
 | 
				
			||||||
	} else if (!strcasecmp(nodename, "rotate.tablet")) {
 | 
					 | 
				
			||||||
		rc.tablet.rotation = tablet_parse_rotation(atoi(content));
 | 
					 | 
				
			||||||
	} else if (!strcasecmp(nodename, "button.map.tablet")) {
 | 
						} else if (!strcasecmp(nodename, "button.map.tablet")) {
 | 
				
			||||||
		button_map_from = tablet_button_from_str(content);
 | 
							button_map_from = tablet_button_from_str(content);
 | 
				
			||||||
	} else if (!strcasecmp(nodename, "to.map.tablet")) {
 | 
						} else if (!strcasecmp(nodename, "to.map.tablet")) {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue