aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDavid Eklov <david.eklov@gmail.com>2016-07-11 00:11:38 -0500
committerDavid Eklov <david.eklov@gmail.com>2016-07-14 17:18:01 -0500
commita0c8799c8008da4eccde3ae4bd5865b5c4422058 (patch)
treee6830dc3459a1570b900c21c6208b93efb2027d8 /include
parent679c7b397c4e9dfdc69d6c67c523494dfe987f60 (diff)
downloadsway-a0c8799c8008da4eccde3ae4bd5865b5c4422058.tar.xz
Compute what workspace button is clicked
This commit does not do anything with this information other than logging it.
Diffstat (limited to 'include')
-rw-r--r--include/bar/ipc.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/bar/ipc.h b/include/bar/ipc.h
index 741c067b..c11931d0 100644
--- a/include/bar/ipc.h
+++ b/include/bar/ipc.h
@@ -13,5 +13,11 @@ void ipc_bar_init(struct bar *bar, const char *bar_id);
*/
bool handle_ipc_event(struct bar *bar);
+
+/**
+ * Send workspace command to sway
+ */
+void ipc_send_workspace_command(const char *workspace_name);
+
#endif /* _SWAYBAR_IPC_H */