mirror of
https://github.com/swaywm/sway.git
synced 2026-06-11 03:02:35 -04:00
Added minimum viable swaybar tray SNI protocol support using sd-bus
This commit is contained in:
parent
456b91600d
commit
854c0d3b6d
13 changed files with 392 additions and 17 deletions
|
|
@ -17,16 +17,16 @@ struct tray {
|
|||
/**
|
||||
* Processes a mouse event on the bar
|
||||
*/
|
||||
void tray_mouse_event(struct output *output, int x, int y,
|
||||
uint32_t button, uint32_t state);
|
||||
//void tray_mouse_event(struct output *output, int x, int y,
|
||||
// uint32_t button, uint32_t state);
|
||||
|
||||
uint32_t tray_render(struct output *output, struct config *config);
|
||||
//uint32_t tray_render(struct output *output, struct config *config);
|
||||
|
||||
void tray_upkeep(struct bar *bar);
|
||||
//void tray_upkeep(struct swaybar *bar);
|
||||
|
||||
/**
|
||||
* Initializes the tray with D-Bus
|
||||
*/
|
||||
void init_tray(struct bar *bar);
|
||||
void tray_init(struct swaybar *bar);
|
||||
|
||||
#endif /* _SWAYBAR_TRAY_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue