From: Fernando Tarlá Cardoso Lemos Date: Sat, 20 Nov 2010 22:04:01 +0000 (-0200) Subject: Send the workspace focus change event. X-Git-Tag: tree-pr1~75 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=767dcea7ba55309651d8f32abdf8a24e98e57963;p=i3%2Fi3 Send the workspace focus change event. --- diff --git a/src/workspace.c b/src/workspace.c index e13faa60..47a05eb8 100644 --- a/src/workspace.c +++ b/src/workspace.c @@ -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 */