aboutsummaryrefslogtreecommitdiff
path: root/sway/commands/reload.c
diff options
context:
space:
mode:
authorRyan Dwyer <RyanDwyer@users.noreply.github.com>2018-08-04 10:15:29 +1000
committerGitHub <noreply@github.com>2018-08-04 10:15:29 +1000
commite24fc3df18182f3b78cdf90322b0acabfb82a60e (patch)
tree27a696a801539c946ac597e20b920c4b29697204 /sway/commands/reload.c
parentad2a7c26180dcb1ab0d2d128e207921152762ed6 (diff)
parent38675eba7be471a2dacb5928f54d046297c23517 (diff)
downloadsway-e24fc3df18182f3b78cdf90322b0acabfb82a60e.tar.xz
Merge branch 'master' into fix-2416
Diffstat (limited to 'sway/commands/reload.c')
-rw-r--r--sway/commands/reload.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sway/commands/reload.c b/sway/commands/reload.c
index 5c1b19b4..f8ca374d 100644
--- a/sway/commands/reload.c
+++ b/sway/commands/reload.c
@@ -19,8 +19,9 @@ struct cmd_results *cmd_reload(int argc, char **argv) {
list_add(bar_ids, strdup(bar->id));
}
- if (!load_main_config(config->current_config_path, true)) {
- return cmd_results_new(CMD_FAILURE, "reload", "Error(s) reloading config.");
+ if (!load_main_config(config->current_config_path, true, false)) {
+ return cmd_results_new(CMD_FAILURE, "reload",
+ "Error(s) reloading config.");
}
ipc_event_workspace(NULL, NULL, "reload");
@@ -42,5 +43,6 @@ struct cmd_results *cmd_reload(int argc, char **argv) {
list_free(bar_ids);
arrange_windows(&root_container);
+
return cmd_results_new(CMD_SUCCESS, NULL, NULL);
}