From 767dcea7ba55309651d8f32abdf8a24e98e57963 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fernando=20Tarl=C3=A1=20Cardoso=20Lemos?= Date: Sat, 20 Nov 2010 20:04:01 -0200 Subject: [PATCH] Send the workspace focus change event. --- src/workspace.c | 2 ++ 1 file changed, 2 insertions(+) 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 */ -- 2.39.5