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 /swaybar/tray/tray.c | |
parent | 598e950296ce9fef24b54b4c01302ee68473fb8a (diff) |
swaybar: add tray interface
Diffstat (limited to 'swaybar/tray/tray.c')
-rw-r--r-- | swaybar/tray/tray.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/swaybar/tray/tray.c b/swaybar/tray/tray.c new file mode 100644 index 00000000..d5fb3ea9 --- /dev/null +++ b/swaybar/tray/tray.c @@ -0,0 +1,21 @@ +#include <cairo.h> +#include <stdint.h> +#include <stdlib.h> +#include "swaybar/bar.h" +#include "swaybar/tray/tray.h" +#include "log.h" + +struct swaybar_tray *create_tray(struct swaybar *bar) { + wlr_log(WLR_DEBUG, "Initializing tray"); + return NULL; +} + +void destroy_tray(struct swaybar_tray *tray) { +} + +void tray_in(int fd, short mask, void *data) { +} + +uint32_t render_tray(cairo_t *cairo, struct swaybar_output *output, double *x) { + return 0; // placeholder +} |