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 /swaybar/ipc.c | |
| parent | 679c7b397c4e9dfdc69d6c67c523494dfe987f60 (diff) | |
Compute what workspace button is clicked
This commit does not do anything with this information other than logging it.
Diffstat (limited to 'swaybar/ipc.c')
| -rw-r--r-- | swaybar/ipc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/swaybar/ipc.c b/swaybar/ipc.c index dacee4c2..6697742e 100644 --- a/swaybar/ipc.c +++ b/swaybar/ipc.c @@ -7,6 +7,10 @@ #include "bar/config.h" #include "bar/ipc.h" +void ipc_send_workspace_command(const char *workspace_name) { + sway_log(L_DEBUG, "Clicked on window %s", workspace_name); +} + static void ipc_parse_config(struct config *config, const char *payload) { json_object *bar_config = json_tokener_parse(payload); json_object *tray_output, *mode, *hidden_bar, *position, *status_command; |
