xwayland: allow persistence

Closes: #1958.
This commit is contained in:
Andrew J. Hesford 2024-07-03 13:43:04 -04:00 committed by Consolatis
parent 370d62beda
commit 9153c22dab
5 changed files with 14 additions and 1 deletions

View file

@ -899,6 +899,8 @@ entry(xmlNode *node, char *nodename, char *content)
if (rc.placement_policy == LAB_PLACE_INVALID) {
rc.placement_policy = LAB_PLACE_CENTER;
}
} else if (!strcasecmp(nodename, "xwaylandPersistence.core")) {
set_bool(content, &rc.xwayland_persistence);
} else if (!strcmp(nodename, "name.theme")) {
rc.theme_name = xstrdup(content);
} else if (!strcmp(nodename, "cornerradius.theme")) {