Add first magnifier values to XML handling

This commit is contained in:
Simon Long 2024-05-03 10:47:28 +01:00
parent 1570952e5c
commit f98a89d60c

View file

@ -1034,6 +1034,10 @@ entry(xmlNode *node, char *nodename, char *content)
} else { } else {
wlr_log(WLR_ERROR, "Missing 'button' argument for tablet button mapping"); wlr_log(WLR_ERROR, "Missing 'button' argument for tablet button mapping");
} }
} else if (!strcasecmp(nodename, "scale.magnifier")) {
rc.mag_scale = atoi(content);
} else if (!strcasecmp(nodename, "size.magnifier")) {
rc.mag_size = atoi(content);
} }
} }