aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Fan <ianfan0@gmail.com>2018-07-18 11:38:06 +0100
committerIan Fan <ianfan0@gmail.com>2018-08-01 16:57:15 +0100
commitd898e035ba539005a8d7fa8283191f4c4054612e (patch)
tree6f0baa1b4d0eeeb3255636518fbc738c3f25ce4d
parent6865b8aae9736e73a2153bce89d979737f8162cc (diff)
ipc: add workspace::reload event
-rw-r--r--sway/commands/reload.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/commands/reload.c b/sway/commands/reload.c
index 36c6acce..5c1b19b4 100644
--- a/sway/commands/reload.c
+++ b/sway/commands/reload.c
@@ -22,6 +22,7 @@ struct cmd_results *cmd_reload(int argc, char **argv) {
if (!load_main_config(config->current_config_path, true)) {
return cmd_results_new(CMD_FAILURE, "reload", "Error(s) reloading config.");
}
+ ipc_event_workspace(NULL, NULL, "reload");
load_swaybars();