mirror of
https://github.com/labwc/labwc.git
synced 2026-06-13 14:33:18 -04:00
rcxml: track first loaded config file for IPC
This commit is contained in:
parent
0076c528b7
commit
c675da04aa
1 changed files with 5 additions and 0 deletions
|
|
@ -2030,6 +2030,10 @@ rcxml_read(const char *filename)
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!rc.loaded_config_file) {
|
||||||
|
xstrdup_replace(rc.loaded_config_file, path->string);
|
||||||
|
}
|
||||||
|
|
||||||
wlr_log(WLR_INFO, "read config file %s", path->string);
|
wlr_log(WLR_INFO, "read config file %s", path->string);
|
||||||
|
|
||||||
rcxml_parse_xml(&b);
|
rcxml_parse_xml(&b);
|
||||||
|
|
@ -2059,6 +2063,7 @@ rcxml_finish(void)
|
||||||
zfree(rc.workspace_config.initial_workspace_name);
|
zfree(rc.workspace_config.initial_workspace_name);
|
||||||
zfree(rc.tablet.output_name);
|
zfree(rc.tablet.output_name);
|
||||||
zfree(rc.window_switcher.osd.thumbnail_label_format);
|
zfree(rc.window_switcher.osd.thumbnail_label_format);
|
||||||
|
zfree(rc.loaded_config_file);
|
||||||
|
|
||||||
clear_title_layout();
|
clear_title_layout();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue