mirror of
https://github.com/labwc/labwc.git
synced 2026-04-12 08:21:13 -04:00
Add first magnifier values to XML handling
This commit is contained in:
parent
1570952e5c
commit
f98a89d60c
1 changed files with 4 additions and 0 deletions
|
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue