Send the workspace focus change event.

This commit is contained in:
Fernando Tarlá Cardoso Lemos 2010-11-20 20:04:01 -02:00 committed by Michael Stapelberg
parent c0cd756b0f
commit 767dcea7ba
1 changed files with 2 additions and 0 deletions

View File

@ -216,6 +216,8 @@ void workspace_show(const char *num) {
con_focus(next);
workspace->fullscreen_mode = CF_OUTPUT;
LOG("focused now = %p / %s\n", focused, focused->name);
ipc_send_event("workspace", I3_IPC_EVENT_WORKSPACE, "{\"change\":\"focus\"}");
#if 0
/* Check if the workspace has not been used yet */