From 9925554ea443c03197e319b7c0a884f80b3b63c0 Mon Sep 17 00:00:00 2001 From: minus Date: Tue, 27 Oct 2015 21:59:17 +0100 Subject: implemented IPC subscribe for workspace event --- sway/workspace.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sway/workspace.c') diff --git a/sway/workspace.c b/sway/workspace.c index b7e9760b..604fc8e4 100644 --- a/sway/workspace.c +++ b/sway/workspace.c @@ -13,6 +13,7 @@ #include "stringop.h" #include "focus.h" #include "util.h" +#include "ipc.h" char *prev_workspace_name = NULL; @@ -221,5 +222,8 @@ bool workspace_switch(swayc_t *workspace) { return false; } arrange_windows(workspace, -1, -1); + + ipc_event_workspace(active_ws, workspace); + return true; } -- cgit v1.2.3