diff options
author | David Eklov <david.eklov@gmail.com> | 2016-07-11 00:11:38 -0500 |
---|---|---|
committer | David Eklov <david.eklov@gmail.com> | 2016-07-14 17:18:01 -0500 |
commit | a0c8799c8008da4eccde3ae4bd5865b5c4422058 (patch) | |
tree | e6830dc3459a1570b900c21c6208b93efb2027d8 /include | |
parent | Use int instead of wl_fixed_t for mouse coordinates (diff) | |
download | sway-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.h | 6 |
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 | */ |
14 | bool handle_ipc_event(struct bar *bar); | 14 | bool handle_ipc_event(struct bar *bar); |
15 | 15 | ||
16 | |||
17 | /** | ||
18 | * Send workspace command to sway | ||
19 | */ | ||
20 | void ipc_send_workspace_command(const char *workspace_name); | ||
21 | |||
16 | #endif /* _SWAYBAR_IPC_H */ | 22 | #endif /* _SWAYBAR_IPC_H */ |
17 | 23 | ||