diff options
author | minus <[email protected]> | 2015-10-27 21:59:17 +0100 |
---|---|---|
committer | minus <[email protected]> | 2015-10-27 21:59:17 +0100 |
commit | 9925554ea443c03197e319b7c0a884f80b3b63c0 (patch) | |
tree | cf39c04c28171637fcd36964a62ae0d01dd4c9f4 /sway/workspace.c | |
parent | eb847a1b1ce122f6621de0fb76e381bf0d10b317 (diff) |
implemented IPC subscribe for workspace event
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 @@ #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; } |