X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=src%2Fsystray%2Fsystraybar.h;h=9e3b99012c4a5ac073692e22ef7ac2c78a68d1df;hb=f704f3350599d7f71afd0fb827c0948dec67ede3;hp=778b89261e883224372fce672b8dee9522bcc0ba;hpb=3083e8006371cfb4a454b8bce92a682e4bb87e50;p=chaz%2Ftint2 diff --git a/src/systray/systraybar.h b/src/systray/systraybar.h index 778b892..9e3b990 100644 --- a/src/systray/systraybar.h +++ b/src/systray/systraybar.h @@ -38,10 +38,11 @@ typedef struct } TrayWindow; +// net_sel_win != None when protocol started extern Window net_sel_win; extern Systraybar systray; extern int refresh_systray; - +extern int systray_enabled; void init_systray(); void init_systray_panel(void *p); @@ -52,8 +53,8 @@ void resize_systray(void *obj); // systray protocol // many tray icon doesn't manage stop/restart of the systray manager -int init_net(); -void cleanup_net(); +void start_net(); +void stop_net(); void net_message(XClientMessageEvent *e); gboolean add_icon(Window id);