X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=src%2Fsystray%2Fsystraybar.h;h=a405dfd48d50747fda223a3dcdeb26c9caf96abc;hb=ef9c33a6a77e304bceaa00b146869bf3747aaa57;hp=5222dd6b3d36b8bb22c5404c089470d8796b4a89;hpb=e9f82fb210675167061fd45697f49e6eb733c732;p=chaz%2Ftint2 diff --git a/src/systray/systraybar.h b/src/systray/systraybar.h index 5222dd6..a405dfd 100644 --- a/src/systray/systraybar.h +++ b/src/systray/systraybar.h @@ -9,9 +9,7 @@ #ifndef SYSTRAYBAR_H #define SYSTRAYBAR_H -#include -#include -#include +#include "common.h" #include "area.h" @@ -34,16 +32,21 @@ typedef struct extern Window net_sel_win; +extern Systraybar systray; void init_systray(); void cleanup_systray(); -int net_init(); + +int init_net(); +void cleanup_net(); void net_message(XClientMessageEvent *e); -// return 1 if task_width changed -int resize_systray (Systraybar *sysbar); +void remove_icon(TrayWindow *traywin); + +void draw_systray(void *obj, cairo_t *c, int active); +void resize_systray(void *obj); #endif