Handle saved_configpath in get_config_path, fix memleak in current_configpath handling, update atoms after reloading (Thanks fernandotcl)

This commit is contained in:
Michael Stapelberg
2011-03-19 22:26:15 +01:00
parent 626c65b0d8
commit b342d387a8
6 changed files with 79 additions and 66 deletions

View File

@ -346,6 +346,7 @@ reload:
{
printf("reloading\n");
load_configuration(conn, NULL, true);
x_set_i3_atoms();
/* Send an IPC event just in case the ws names have changed */
ipc_send_event("workspace", I3_IPC_EVENT_WORKSPACE, "{\"change\":\"reload\"}");
}