Compute what workspace button is clicked

This commit does not do anything with this information other than logging it.
This commit is contained in:
David Eklov 2016-07-11 00:11:38 -05:00
parent 679c7b397c
commit a0c8799c80
3 changed files with 38 additions and 1 deletions

View file

@ -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;