mirror of
https://github.com/swaywm/sway.git
synced 2025-10-29 05:40:18 -04:00
swaybar: add tray interface
This commit is contained in:
parent
598e950296
commit
5f65f33989
8 changed files with 110 additions and 13 deletions
21
swaybar/tray/tray.c
Normal file
21
swaybar/tray/tray.c
Normal file
|
|
@ -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
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue