diff options
| author | Ian Fan <ianfan0@gmail.com> | 2018-10-28 10:25:47 +0000 |
|---|---|---|
| committer | Ian Fan <ianfan0@gmail.com> | 2018-12-31 20:40:18 +0000 |
| commit | 5f65f339896fadf0011b75d78c869594876d35d9 (patch) | |
| tree | bbb234ad123657f1a8ed1f311cf9183b67e7e961 /include/swaybar/bar.h | |
| parent | 598e950296ce9fef24b54b4c01302ee68473fb8a (diff) | |
swaybar: add tray interface
Diffstat (limited to 'include/swaybar/bar.h')
| -rw-r--r-- | include/swaybar/bar.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/swaybar/bar.h b/include/swaybar/bar.h index 57c5114e..ef27012d 100644 --- a/include/swaybar/bar.h +++ b/include/swaybar/bar.h @@ -1,6 +1,7 @@ #ifndef _SWAYBAR_BAR_H #define _SWAYBAR_BAR_H #include <wayland-client.h> +#include "config.h" #include "input.h" #include "pool-buffer.h" #include "wlr-layer-shell-unstable-v1-client-protocol.h" @@ -8,6 +9,9 @@ struct swaybar_config; struct swaybar_output; +#if HAVE_TRAY +struct swaybar_tray; +#endif struct swaybar_workspace; struct loop; @@ -38,6 +42,10 @@ struct swaybar { int ipc_socketfd; struct wl_list outputs; // swaybar_output::link + +#if HAVE_TRAY + struct swaybar_tray *tray; +#endif }; struct swaybar_output { |
