diff options
Diffstat (limited to 'sway/workspace.c')
-rw-r--r-- | sway/workspace.c | 4 |
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 @@ | |||
13 | #include "stringop.h" | 13 | #include "stringop.h" |
14 | #include "focus.h" | 14 | #include "focus.h" |
15 | #include "util.h" | 15 | #include "util.h" |
16 | #include "ipc.h" | ||
16 | 17 | ||
17 | char *prev_workspace_name = NULL; | 18 | char *prev_workspace_name = NULL; |
18 | 19 | ||
@@ -221,5 +222,8 @@ bool workspace_switch(swayc_t *workspace) { | |||
221 | return false; | 222 | return false; |
222 | } | 223 | } |
223 | arrange_windows(workspace, -1, -1); | 224 | arrange_windows(workspace, -1, -1); |
225 | |||
226 | ipc_event_workspace(active_ws, workspace); | ||
227 | |||
224 | return true; | 228 | return true; |
225 | } | 229 | } |