aboutsummaryrefslogtreecommitdiff
path: root/sway/workspace.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/workspace.c')
-rw-r--r--sway/workspace.c4
1 files changed, 4 insertions, 0 deletions
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;
}