module/i3: trigger a bar refresh after a workspace event

This commit is contained in:
Daniel Eklöf 2019-01-07 18:31:55 +01:00
parent 072a508291
commit af13df3045

View file

@ -476,6 +476,7 @@ run(struct module_run_context *ctx)
case I3_IPC_EVENT_WORKSPACE: case I3_IPC_EVENT_WORKSPACE:
handle_workspace_event(m, json); handle_workspace_event(m, json);
ctx->module->bar->refresh(ctx->module->bar);
break; break;
case I3_IPC_EVENT_OUTPUT: case I3_IPC_EVENT_OUTPUT: