mirror of
https://github.com/labwc/labwc.git
synced 2025-11-03 09:01:51 -05:00
parent
208f383c66
commit
89589f17c4
8 changed files with 60 additions and 21 deletions
|
|
@ -873,11 +873,8 @@ entry(xmlNode *node, char *nodename, char *content)
|
|||
} else if (!strcasecmp(nodename, "reuseOutputMode.core")) {
|
||||
set_bool(content, &rc.reuse_output_mode);
|
||||
} else if (!strcmp(nodename, "policy.placement")) {
|
||||
if (!strcmp(content, "automatic")) {
|
||||
rc.placement_policy = LAB_PLACE_AUTOMATIC;
|
||||
} else if (!strcmp(content, "cursor")) {
|
||||
rc.placement_policy = LAB_PLACE_CURSOR;
|
||||
} else {
|
||||
rc.placement_policy = view_placement_parse(content);
|
||||
if (rc.placement_policy == LAB_PLACE_INVALID) {
|
||||
rc.placement_policy = LAB_PLACE_CENTER;
|
||||
}
|
||||
} else if (!strcmp(nodename, "name.theme")) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue