summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar David Eklov <david.eklov@gmail.com>2016-07-11 00:11:38 -0500
committerLibravatar David Eklov <david.eklov@gmail.com>2016-07-14 17:18:01 -0500
commita0c8799c8008da4eccde3ae4bd5865b5c4422058 (patch)
treee6830dc3459a1570b900c21c6208b93efb2027d8 /include
parentUse int instead of wl_fixed_t for mouse coordinates (diff)
downloadsway-a0c8799c8008da4eccde3ae4bd5865b5c4422058.tar.gz
sway-a0c8799c8008da4eccde3ae4bd5865b5c4422058.tar.zst
sway-a0c8799c8008da4eccde3ae4bd5865b5c4422058.zip
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);
13 */ 13 */
14bool handle_ipc_event(struct bar *bar); 14bool handle_ipc_event(struct bar *bar);
15 15
16
17/**
18 * Send workspace command to sway
19 */
20void ipc_send_workspace_command(const char *workspace_name);
21
16#endif /* _SWAYBAR_IPC_H */ 22#endif /* _SWAYBAR_IPC_H */
17 23