diff options
author | Drew DeVault <[email protected]> | 2015-10-27 17:19:18 -0400 |
---|---|---|
committer | Drew DeVault <[email protected]> | 2015-10-27 17:19:18 -0400 |
commit | 6cd106d23c73c1f5c5f87d4c024400cfd5edc93f (patch) | |
tree | 5a0d395cb76a8329c80b3cba95b8ca63e66f326c /sway/workspace.c | |
parent | 36526e8cb2bfdfaf0b6c1f5679b8cf7a1f0db27c (diff) | |
parent | 9925554ea443c03197e319b7c0a884f80b3b63c0 (diff) |
Merge pull request #208 from minus7/ipc_subscribe
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; } |