From f98a89d60cdd6372b2a81efe0119ad33dde5eeb9 Mon Sep 17 00:00:00 2001 From: Simon Long Date: Fri, 3 May 2024 10:47:28 +0100 Subject: [PATCH] Add first magnifier values to XML handling --- src/config/rcxml.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/config/rcxml.c b/src/config/rcxml.c index bc6da7f5..461d33f5 100644 --- a/src/config/rcxml.c +++ b/src/config/rcxml.c @@ -1034,6 +1034,10 @@ entry(xmlNode *node, char *nodename, char *content) } else { 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); } }