diff options
author | Orestis Floros <orestisflo@gmail.com> | 2023-01-22 18:34:14 +0100 |
---|---|---|
committer | Orestis Floros <orestisflo@gmail.com> | 2023-01-22 18:34:14 +0100 |
commit | ff30991b16c9b62cf5f04353f419b09912b83ede (patch) | |
tree | 4928f60370ebd34bc942a7e00867e37422ba8d1e /i3bar/include/workspaces.h | |
parent | c52f13900df5da04d86809abbfe25178a4bbe305 (diff) | |
download | i3-ff30991b16c9b62cf5f04353f419b09912b83ede.tar.gz i3-ff30991b16c9b62cf5f04353f419b09912b83ede.zip |
i3bar: Add protocol for workspace buttonsi3bar-ws-protocol
Closes #3818 (parent issue)
Fixes #1808
Fixes #2333
Fixes #2617
Fixes #3548
Diffstat (limited to 'i3bar/include/workspaces.h')
-rw-r--r-- | i3bar/include/workspaces.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/i3bar/include/workspaces.h b/i3bar/include/workspaces.h index ff61450c..6c8e7145 100644 --- a/i3bar/include/workspaces.h +++ b/i3bar/include/workspaces.h @@ -18,10 +18,10 @@ typedef struct i3_ws i3_ws; TAILQ_HEAD(ws_head, i3_ws); /* - * Start parsing the received JSON string + * Parse the received JSON string * */ -void parse_workspaces_json(char *json); +void parse_workspaces_json(const unsigned char *json, size_t size); /* * free() all workspace data structures @@ -38,7 +38,6 @@ struct i3_ws { bool visible; /* If the ws is currently visible on an output */ bool focused; /* If the ws is currently focused */ bool urgent; /* If the urgent hint of the ws is set */ - rect rect; /* The rect of the ws (not used (yet)) */ struct i3_output *output; /* The current output of the ws */ TAILQ_ENTRY(i3_ws) tailq; /* Pointer for the TAILQ-Macro */ |