Fix rendering of workspace names after "reload" (Thanks fallen)

This commit is contained in:
Michael Stapelberg
2010-03-25 19:08:37 +01:00
parent 469f22caeb
commit 6699d54640
2 changed files with 9 additions and 1 deletions

View File

@ -1042,6 +1042,9 @@ void parse_command(xcb_connection_t *conn, const char *command) {
/* Is it a <reload>? */
if (STARTS_WITH(command, "reload")) {
load_configuration(conn, NULL, true);
render_layout(conn);
/* Send an IPC event just in case the ws names have changed */
ipc_send_event("workspace", I3_IPC_EVENT_WORKSPACE, "{\"change\":\"reload\"}");
return;
}