diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-03-29 16:51:36 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2018-03-29 22:11:08 -0400 |
commit | 6836074fed83255438960fdc9597532d8bcae4bd (patch) | |
tree | afc1f5292e934ef012800c6575f7fb8e0e303eee /include | |
parent | Fixed laggy focused output boolean (diff) | |
download | sway-6836074fed83255438960fdc9597532d8bcae4bd.tar.gz sway-6836074fed83255438960fdc9597532d8bcae4bd.tar.zst sway-6836074fed83255438960fdc9597532d8bcae4bd.zip |
Implement enough IPC for swaybar to work
Diffstat (limited to 'include')
-rw-r--r-- | include/sway/config.h | 11 | ||||
-rw-r--r-- | include/sway/ipc-json.h | 1 | ||||
-rw-r--r-- | include/sway/ipc-server.h | 1 |
3 files changed, 2 insertions, 11 deletions
diff --git a/include/sway/config.h b/include/sway/config.h index 8c9e04de..f9ab6778 100644 --- a/include/sway/config.h +++ b/include/sway/config.h | |||
@@ -158,17 +158,6 @@ struct bar_config { | |||
158 | char *swaybar_command; | 158 | char *swaybar_command; |
159 | char *font; | 159 | char *font; |
160 | int height; // -1 not defined | 160 | int height; // -1 not defined |
161 | |||
162 | #ifdef ENABLE_TRAY | ||
163 | // Tray | ||
164 | char *tray_output; | ||
165 | char *icon_theme; | ||
166 | uint32_t tray_padding; | ||
167 | uint32_t activate_button; | ||
168 | uint32_t context_button; | ||
169 | uint32_t secondary_button; | ||
170 | #endif | ||
171 | |||
172 | bool workspace_buttons; | 161 | bool workspace_buttons; |
173 | bool wrap_scroll; | 162 | bool wrap_scroll; |
174 | char *separator_symbol; | 163 | char *separator_symbol; |
diff --git a/include/sway/ipc-json.h b/include/sway/ipc-json.h index eef5a018..19c5b5bc 100644 --- a/include/sway/ipc-json.h +++ b/include/sway/ipc-json.h | |||
@@ -9,5 +9,6 @@ json_object *ipc_json_get_version(); | |||
9 | json_object *ipc_json_describe_container(swayc_t *c); | 9 | json_object *ipc_json_describe_container(swayc_t *c); |
10 | json_object *ipc_json_describe_container_recursive(swayc_t *c); | 10 | json_object *ipc_json_describe_container_recursive(swayc_t *c); |
11 | json_object *ipc_json_describe_input(struct sway_input_device *device); | 11 | json_object *ipc_json_describe_input(struct sway_input_device *device); |
12 | json_object *ipc_json_describe_bar_config(struct bar_config *bar); | ||
12 | 13 | ||
13 | #endif | 14 | #endif |
diff --git a/include/sway/ipc-server.h b/include/sway/ipc-server.h index bcf1c433..6b7404e5 100644 --- a/include/sway/ipc-server.h +++ b/include/sway/ipc-server.h | |||
@@ -10,6 +10,7 @@ void ipc_init(struct sway_server *server); | |||
10 | void ipc_terminate(void); | 10 | void ipc_terminate(void); |
11 | struct sockaddr_un *ipc_user_sockaddr(void); | 11 | struct sockaddr_un *ipc_user_sockaddr(void); |
12 | 12 | ||
13 | void ipc_event_workspace(swayc_t *old, swayc_t *new, const char *change); | ||
13 | void ipc_event_window(swayc_t *window, const char *change); | 14 | void ipc_event_window(swayc_t *window, const char *change); |
14 | 15 | ||
15 | #endif | 16 | #endif |