aboutsummaryrefslogtreecommitdiff
path: root/client-protocol.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-11-03 11:58:55 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-11-03 11:58:55 +0000
commit347b90eaaea79863611f3fd405611e482ed3196d (patch)
tree06732af5a350d8b4e8b71ba9b7ed5eef5b6115da /client-protocol.h
parentconfig: format all (well, most) error messages in the same way (diff)
parentfoot/client: implement xdga client activation (diff)
Merge branch 'xdga-launch'
Diffstat (limited to 'client-protocol.h')
-rw-r--r--client-protocol.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/client-protocol.h b/client-protocol.h
index c1291f28..b0f39055 100644
--- a/client-protocol.h
+++ b/client-protocol.h
@@ -12,15 +12,18 @@ struct client_string {
struct client_data {
bool hold:1;
bool no_wait:1;
- uint8_t reserved:6;
+ bool xdga_token:1;
+ uint8_t reserved:5;
+ uint8_t token_len;
uint16_t cwd_len;
uint16_t override_count;
uint16_t argc;
/* char cwd[static cwd_len]; */
+ /* char token[static token_len]; */
/* struct client_string overrides[static override_count]; */
/* struct client_string argv[static argc]; */
} __attribute__((packed));
-_Static_assert(sizeof(struct client_data) == 7, "protocol struct size error");
+_Static_assert(sizeof(struct client_data) == 8, "protocol struct size error");